From 7022cb70504f625d0fd9eabcfb5c8362c38c573d Mon Sep 17 00:00:00 2001 From: Joel Falknau Date: Sun, 29 Dec 2024 15:14:29 +1000 Subject: [PATCH] not relevant comment --- allianceauth/framework/cron.py | 1 - 1 file changed, 1 deletion(-) diff --git a/allianceauth/framework/cron.py b/allianceauth/framework/cron.py index 8ec3eb50..c8f54cbd 100644 --- a/allianceauth/framework/cron.py +++ b/allianceauth/framework/cron.py @@ -20,7 +20,6 @@ def offset_cron(schedule: crontab) -> crontab: new_minute = [(m + (round(60 * cron_offset.minute))) % 60 for m in schedule.minute] new_hour = [(m + (round(24 * cron_offset.hour))) % 24 for m in schedule.hour] - # Type hints are fine here, crontab _expand_cronspec handles sets, the hinting is old return crontab( minute=",".join(str(m) for m in sorted(new_minute)), hour=",".join(str(h) for h in sorted(new_hour)),