From cc4f78d08f2d6362afda7d208eaeb830c5fe470e Mon Sep 17 00:00:00 2001 From: localhost_frssoft Date: Sat, 3 Sep 2022 18:42:13 +0300 Subject: [PATCH] fix sqlite "recursive" get_state --- fmn_bot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fmn_bot.py b/fmn_bot.py index a6ace1c..db9f7c4 100644 --- a/fmn_bot.py +++ b/fmn_bot.py @@ -1,6 +1,7 @@ from src import listener_context, listener_mention, imdb_datasets_worker from config import logger_default_level import logging +import time @@ -8,6 +9,7 @@ def main(): logging.basicConfig(level=logger_default_level) listener_mention.run_scan_notif() # Слушаем упоминания в фоне + time.sleep(1) listener_context.scan_context_thread() # Слушаем тред на новые предложения фильмов