Skip to content

Commit

Permalink
Merge pull request #621 from petrjasek/master
Browse files Browse the repository at this point in the history
fix(rss): fix rss ingest when updated_parsed is `None`
  • Loading branch information
petrjasek committed Oct 17, 2016
2 parents c3407a8 + 8183cab commit fc815d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superdesk/io/feeding_services/rss.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def _update(self, provider, update):
t_entry_updated = utcfromtimestamp(timegm(entry.updated_parsed))
if t_entry_updated <= t_provider_updated:
continue
except AttributeError:
except (AttributeError, TypeError):
# missing updated info, so better ingest it
pass

Expand Down

0 comments on commit fc815d2

Please sign in to comment.