diff --git a/files/routes/__init__.py b/files/routes/__init__.py index 7a652fc6d..dc584371a 100644 --- a/files/routes/__init__.py +++ b/files/routes/__init__.py @@ -53,7 +53,7 @@ if FEATURES['PING_GROUPS']: if IS_LOCALHOST: from sys import argv - if "cron" not in argv: + if "cron" not in argv and "load_chat" not in argv: from files.helpers.cron import cron_fn print('Starting cron tasks!', flush=True) gevent.spawn(cron_fn, True, False, False)