fix date parsing bug
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing

This commit is contained in:
mitsuha_s 2022-07-09 00:57:23 +00:00
parent f943f10c4d
commit 7e442de733

2
rss.py
View file

@ -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