Skip to content

Commit

Permalink
移除测试代码
Browse files Browse the repository at this point in the history
  • Loading branch information
Shawnsdaddy committed Sep 17, 2024
1 parent a29e7a3 commit ba29031
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions arknights_mower/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ def simulate(saved):
timezone_offset = 0
if saved:
try:
logger.info(saved)
for k, v in saved["operators"].items():
if k not in base_scheduler.op_data.operators:
base_scheduler.op_data.add(Operator(k, ""))
Expand All @@ -191,13 +190,6 @@ def simulate(saved):
base_scheduler.tasks = tasks
while True:
try:
if (
config.conf.check_mail_enable
and base_scheduler.daily_mail < get_server_time().date()
):
if base_scheduler.mail_plan_solver():
base_scheduler.daily_mail = get_server_time().date()

if len(base_scheduler.tasks) > 0:
(base_scheduler.tasks.sort(key=lambda x: x.time, reverse=False))
remaining_time = (
Expand Down

0 comments on commit ba29031

Please sign in to comment.