Skip to content

Commit 0a979f3

Browse files
fix: token错误写入 (#250)
1 parent a7fb1b0 commit 0a979f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

miuitask.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ async def main():
4545
log.info(f"任务{task.name}被禁用")
4646
continue
4747
token = await get_token(cookies["cUserId"]) if task_obj == CheckIn else None
48-
status, reason = await task_obj(cookies, token).sign()
48+
status, reason = await task_obj(cookies, account.user_agent, token).sign()
4949
if not status and reason == "cookie":
5050
raise ValueError("Cookie失效")
5151
user_info = await sign_obj.user_info()

0 commit comments

Comments
 (0)