From eed64b1e858da0d583cc04d09ee3953c6c52f084 Mon Sep 17 00:00:00 2001 From: Hendrik Schicke Date: Fri, 22 Oct 2021 09:00:04 +0800 Subject: [PATCH] small fix --- C_Main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C_Main.py b/C_Main.py index 78a3945..d70f5cd 100644 --- a/C_Main.py +++ b/C_Main.py @@ -1055,7 +1055,7 @@ def main(): # Cooldown: Write date of today into cooldown dictionary cooldowns['Staus_Report_cooldown'] = datetime.strptime(f'{date.today()} {config.Status_update_time}', '%Y-%m-%d %H:%M') + timedelta(hours=config.Status_update_frequency) - report_logger.info(f'[Status Update] Cooldown limit has been activated. Next Status Report will be send on {(datetime.strptime(f"{date.today()} {config.Status_update_time}", "%Y-%m-%d %H:%M") + timedelta(hours=config.Status_update_frequency)):%Y-%m-%d %H:%M} server time.') + default_logger.debug(f'[Status Update] Cooldown limit has been activated. Next Status Report will be send on {(datetime.strptime(f"{date.today()} {config.Status_update_time}", "%Y-%m-%d %H:%M") + timedelta(hours=config.Status_update_frequency)):%Y-%m-%d %H:%M} server time.') else: default_logger.debug(f'[Status Update] Not sent as we are before your desired time ({config.Status_update_time}).') else: