Fix: should use get_server_last_update

This commit is contained in:
uy_sun 2023-11-05 13:15:33 +08:00 committed by LmeSzinc
parent 145a2862b8
commit 46874de000

View File

@ -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