forked from platypush/platypush
Skip RSS items if published_parsed is not defined
This commit is contained in:
parent
f322f71447
commit
e4269a8d5d
1 changed files with 3 additions and 0 deletions
|
@ -108,6 +108,9 @@ class RssUpdates(HttpRequest):
|
|||
.format(len(feed.entries), self.url))
|
||||
|
||||
for entry in feed.entries:
|
||||
if not entry.published_parsed:
|
||||
continue
|
||||
|
||||
entry_timestamp = datetime.datetime(*entry.published_parsed[:6])
|
||||
|
||||
if latest_update is None \
|
||||
|
|
Loading…
Reference in a new issue