Skip to content

Commit

Permalink
feed: Fix 'feed' -> 'self' reference in check_for_errors
Browse files Browse the repository at this point in the history
  • Loading branch information
leezu committed Jan 21, 2018
1 parent 63b686c commit 3a6a425
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rss2email/feed.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ def _check_for_errors(self, parsed):
status in [200, 302] and
not parsed.entries and
not version):
raise _error.ProcessingError(parsed=parsed, feed=feed)
raise _error.ProcessingError(parsed=parsed, feed=self)

def _html2text(self, html, baseurl='', default=None):
self.config.setup_html2text(section=self.section)
Expand Down

0 comments on commit 3a6a425

Please sign in to comment.