Turning off microformats for more errors.

This commit is contained in:
Samuel Clay 2012-11-26 11:50:13 -08:00
parent 04d61ceff4
commit c61ba75988

View file

@ -79,7 +79,7 @@ class FetchFeed:
agent=USER_AGENT,
etag=etag,
modified=modified)
except ValueError, e:
except (TypeError, ValueError), e:
logging.debug(u' ***> [%-30s] ~FR%s, turning off microformats.' %
(self.feed.title[:30], e))
feedparser.PARSE_MICROFORMATS = False