fix date parsing bug
This commit is contained in:
parent
f943f10c4d
commit
7e442de733
2
rss.py
2
rss.py
|
@ -7,7 +7,7 @@ class FeedItem:
|
||||||
self.title = item.get('title', '')
|
self.title = item.get('title', '')
|
||||||
self.description = item.get('summary', '')
|
self.description = item.get('summary', '')
|
||||||
if 'published' in item:
|
if 'published' in item:
|
||||||
self.date = item.published_parsed()
|
self.date = item.published_parsed
|
||||||
else:
|
else:
|
||||||
self.date = None
|
self.date = None
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue