Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Hendrik Schicke committed Oct 22, 2021
1 parent 7c68212 commit eed64b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion C_Main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit eed64b1

Please sign in to comment.