Skip to content

Commit

Permalink
增加cookie自动更新功能,修复双接口监控问题,修复其它bug
Browse files Browse the repository at this point in the history
增加cookie自动更新功能,修复双接口监控问题,修复其它bug
  • Loading branch information
WAADRI authored Sep 30, 2024
1 parent c90d649 commit 337b6ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions other-signin-node.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,15 +222,15 @@ async def interface_two(uid, courseid, classid, na):
user_list[uid]["error_num"] = 0
asyncio.create_task(stop_reason(3, uid))
return 1
elif 3 in user_list[uid]["port"]:
else:
return await interface_three(uid, courseid, classid, na)
except Exception as e:
logging.error(str(e.__traceback__.tb_lineno)+str(e))


async def interface_three(uid, courseid, classid, na):
try:
if 3 in user_list[uid]["port"]:
if 2 not in user_list[uid]["port"]:
if str(user_list[uid]["schoolid"]) == "":
fid = "0"
else:
Expand Down Expand Up @@ -277,7 +277,7 @@ async def interface_three(uid, courseid, classid, na):
user_list[uid]["error_num"] = 0
asyncio.create_task(stop_reason(3, uid))
return 1
elif 2 in user_list[uid]["port"]:
else:
return await interface_two(uid, courseid, classid, na)
except Exception as e:
logging.error(str(e.__traceback__.tb_lineno)+str(e))
Expand Down

0 comments on commit 337b6ef

Please sign in to comment.