Skip to content
Permalink
Browse files
handle TypeError as well in case of missing 'Modified' field
  • Loading branch information
dnet committed May 29, 2013
1 parent f130f2c commit 03cdb16135875a614e2c39d773d4e5fa8c2f55e5
Showing 1 changed file with 1 addition and 1 deletion.
@@ -93,7 +93,7 @@ def fetchFeed(feed):
pass
try:
feed.modified = datetime(*f.modified[:6])
except AttributeError:
except (TypeError, AttributeError):
pass
d = feed.updated
for item in reversed(f['entries']):

0 comments on commit 03cdb16

Please sign in to comment.