fix nerfnow feed

This commit is contained in:
bakatrouble 2019-11-25 15:45:10 +03:00
parent fd63775d58
commit 3f689da8ac

View File

@ -16,7 +16,7 @@ class NerfNowFeedModuleConfig(FeedModuleConfig):
def execute(self, bot: TeleBot, chat_id, last_id): def execute(self, bot: TeleBot, chat_id, last_id):
if last_id is None: if last_id is None:
last_id = 0 last_id = ''
feed = feedparser.parse('http://feeds.feedburner.com/nerfnow/full') feed = feedparser.parse('http://feeds.feedburner.com/nerfnow/full')
for e in reversed(feed['entries']): for e in reversed(feed['entries']):