mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-22 08:37:42 +00:00
Fix: should use get_server_last_update
This commit is contained in:
parent
145a2862b8
commit
46874de000
@ -543,7 +543,7 @@ def get_server_last_monday_update(daily_trigger):
|
|||||||
Returns:
|
Returns:
|
||||||
datetime.datetime
|
datetime.datetime
|
||||||
"""
|
"""
|
||||||
update = get_server_next_update(daily_trigger)
|
update = get_server_last_update(daily_trigger)
|
||||||
diff = update.weekday()
|
diff = update.weekday()
|
||||||
update = update - timedelta(days=diff)
|
update = update - timedelta(days=diff)
|
||||||
return update
|
return update
|
||||||
|
Loading…
Reference in New Issue
Block a user