mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-04-01 04:40:34 +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:
@@ -63,7 +63,11 @@ class MeowfficerBase(UI):
|
|||||||
|
|
||||||
def meow_is_sunday(self):
|
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:
|
Returns:
|
||||||
bool:
|
bool:
|
||||||
"""
|
"""
|
||||||
return get_server_next_update(self.config.Scheduler_ServerUpdate).weekday() == 6
|
return get_server_next_update(self.config.Scheduler_ServerUpdate).weekday() == 0
|
||||||
|
|||||||
Reference in New Issue
Block a user