Permalink
Browse files

handle TypeError as well in case of missing 'Modified' field

  • Loading branch information...
1 parent f130f2c commit 03cdb16135875a614e2c39d773d4e5fa8c2f55e5 @dnet committed May 29, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 fetch.py
View
@@ -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.