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

Opt: Better arrangement of meowfficer settings

This commit is contained in:
LmeSzinc
2022-03-07 20:27:34 +08:00
parent cfa384825b
commit 309cedf60b
15 changed files with 291 additions and 213 deletions

View File

@@ -1,3 +1,4 @@
from module.config.utils import get_server_next_update
from module.meowfficer.assets import *
from module.ui.assets import MEOWFFICER_CHECK, MEOWFFICER_INFO
from module.ui.ui import UI
@@ -59,3 +60,10 @@ class MeowfficerBase(UI):
return True
else:
return False
def meow_is_sunday(self):
"""
Returns:
bool:
"""
return get_server_next_update(self.config.Scheduler_ServerUpdate).weekday() == 0