mirror of
https://github.com/KenanZhu/AutoLibrary.git
synced 2026-06-18 07:23:03 +08:00
fix(LibReserve): fix the mistakely passed parameter 'reserve_info'
we forget to pass the username because the 'reserve_info' do not contain the username
This commit is contained in:
@@ -187,7 +187,7 @@ class AutoLib(MsgBase):
|
||||
# reserve
|
||||
if run_mode["auto_reserve"]:
|
||||
if self.__lib_checker.canReserve(reserve_info.get("date")):
|
||||
if self.__lib_reserve.reserve(reserve_info):
|
||||
if self.__lib_reserve.reserve(username, reserve_info):
|
||||
result = 0
|
||||
else:
|
||||
result = 1
|
||||
|
||||
Reference in New Issue
Block a user