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:
parent
473ffbb9ff
commit
f44748bfcb
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user