From 3d69f9b5d83906987c8038a83d4c4e6eb9c2c855 Mon Sep 17 00:00:00 2001 From: Remy Moll Date: Wed, 30 Jul 2025 11:35:47 +0000 Subject: [PATCH] force tuple type --- bot/cronjob/leaderboard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/cronjob/leaderboard.py b/bot/cronjob/leaderboard.py index d648e18..d757b42 100644 --- a/bot/cronjob/leaderboard.py +++ b/bot/cronjob/leaderboard.py @@ -49,7 +49,7 @@ class SendLeaderboard(): else: # set the message sending time; include UTC shift +2 sending_time = time(hour=12, minute=0, second=0, tzinfo=timezone(timedelta(hours=2))) - job_queue.run_daily(self.callback_leaderboard, time=sending_time, days=(0)) + job_queue.run_daily(self.callback_leaderboard, time=sending_time, days=(0,)) async def callback_leaderboard(self, context):