mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-16 16:17:21 +08:00
Fix: Typo in get_server_next_update()
This commit is contained in:
@@ -480,7 +480,7 @@ def get_server_next_update(daily_trigger):
|
|||||||
trigger = []
|
trigger = []
|
||||||
for t in daily_trigger:
|
for t in daily_trigger:
|
||||||
h, m = [int(x) for x in t.split(':')]
|
h, m = [int(x) for x in t.split(':')]
|
||||||
future = local_now.replace(hour=h, minute=m, second=0, microsecond=0) - diff
|
future = local_now.replace(hour=h, minute=m, second=0, microsecond=0) + diff
|
||||||
future = future + timedelta(days=1) if future < local_now else future
|
future = future + timedelta(days=1) if future < local_now else future
|
||||||
future = future + timedelta(days=1) if future < local_now else future
|
future = future + timedelta(days=1) if future < local_now else future
|
||||||
trigger.append(future)
|
trigger.append(future)
|
||||||
|
|||||||
Reference in New Issue
Block a user