Skip to content

Commit

Permalink
fix: token错误写入
Browse files Browse the repository at this point in the history
  • Loading branch information
Night-stars-1 authored Dec 19, 2023
1 parent 222b897 commit be6376e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miuitask.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async def main():
log.info(f"任务{task.name}被禁用")
continue
token = await get_token(cookies["cUserId"]) if task_obj == CheckIn else None
status, reason = await task_obj(cookies, token).sign()
status, reason = await task_obj(cookies, account.user_agent, token).sign()
if not status and reason == "cookie":
raise ValueError("Cookie失效")
except RetryError:
Expand Down

0 comments on commit be6376e

Please sign in to comment.