Skip to content

Commit

Permalink
[rss] Disable malformed XML check
Browse files Browse the repository at this point in the history
This should fix sopel-irc#449
  • Loading branch information
Elad Alfassa committed May 23, 2014
1 parent a5e487c commit b549625
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions rss.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,13 +408,6 @@ def disable_feed():
bot.debug(feed.channel, "{0}: status = {1}, version = '{2}', items = {3}".format(
feed.name, status, fp.version, len(fp.entries)), 'verbose')

# check for malformed XML
if fp.bozo:
bot.debug(__file__, "Got malformed feed on {0}, disabling ({1})".format(
feed.name, fp.bozo_exception.getMessage()), 'warning')
disable_feed()
continue

# check HTTP status
if status == 301: # MOVED_PERMANENTLY
bot.debug(
Expand Down

0 comments on commit b549625

Please sign in to comment.