1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-09 18:39:04 +08:00

Undo: 5ae02cb; checks for Monday weekday value due to using datetime of next server update; add description reason

This commit is contained in:
nEEtdo0d 2022-03-12 12:53:59 -05:00
parent 473ffbb9ff
commit f44748bfcb

View File

@ -63,7 +63,11 @@ class MeowfficerBase(UI):
def meow_is_sunday(self):
"""
datetime argument is the next server update of,
today's run. So check for Monday's weekday value
(0) rather than Sunday's weekday value (6)
Returns:
bool:
"""
return get_server_next_update(self.config.Scheduler_ServerUpdate).weekday() == 6
return get_server_next_update(self.config.Scheduler_ServerUpdate).weekday() == 0