add twitter feed
This commit is contained in:
@@ -29,7 +29,7 @@ def execute_feed(feed_pk):
|
||||
feed.lock = True
|
||||
feed.save()
|
||||
|
||||
bot = TeleBot(config.feed_bot_token)
|
||||
bot = TeleBot(config.feed_bot_token, threaded=False)
|
||||
for last_id in feed.config.execute(bot, feed.chat_id, feed.last_id):
|
||||
if last_id:
|
||||
feed.last_id = last_id
|
||||
|
Reference in New Issue
Block a user