From 1eb6038cb7017d822b4289eed507fc73e7f464ef Mon Sep 17 00:00:00 2001 From: Sergey Elpashev Date: Fri, 9 Feb 2024 10:07:57 +0300 Subject: [PATCH] Posting all the time at sunday --- handlers/admin_commands.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/handlers/admin_commands.py b/handlers/admin_commands.py index e4b3a9b..7a6d596 100644 --- a/handlers/admin_commands.py +++ b/handlers/admin_commands.py @@ -279,8 +279,7 @@ class AdminCommands(Handler): schedule.every().wednesday.at(i).do(post, None) schedule.every().thursday.at(i).do(post, None) schedule.every().friday.at(i).do(post, None) - if i not in ['10:00', '20:00']: - schedule.every().sunday.at(i).do(post, None) + schedule.every().sunday.at(i).do(post, None) if mes: await mes.answer('Настройки обновлены!')