1
1
mirror of https://github.com/KenanZhu/AutoLibrary.git synced 2026-06-18 07:23:03 +08:00

hotfix(LibRenew): fix the serious bug that the renew process always failed

in this hotfix, we fix the renew bug because we
do not refresh the page after renew the seat,
this will make the subsequent operators, such as
logout ... unable to in progress.
This commit is contained in:
2025-11-30 18:42:20 +08:00
parent 65ca40438d
commit 05c9d433f4
3 changed files with 111 additions and 74 deletions
+4 -1
View File
@@ -208,7 +208,10 @@ class AutoLib(MsgBase):
if run_mode["auto_renewal"] and result == 2:
if record := self.__lib_checker.canRenew():
if self.__lib_renew.renew(username, record, reserve_info):
result = 0
if self.__lib_checker.postRenewCheck(record):
result = 0
else:
result = 1
else:
result = 1
else: