报错如下
Opened this issue · 0 comments
开始执行... 2023-02-20 20:18:42
name 'msg_info' is not defined
================ 脚本只支持青龙新版 =================
============ 具体教程以请自行查看顶部教程 =============
🔔 小米运动刷步数,开始!
📌 本地脚本: 1.0.6
远程仓库版本: 1.0.6
📌 🆙 脚本版本一致,完成内容: 优化SSLerror优化,提交成功统计优化标题栏通知,多账号之间脚本休眠默认10秒,手机号和邮箱均可本地✔✔✔,若出现❌❌❌会使用默认api提交(可更改),适配青龙环境变量、通知和版本更新等
📌 共发现 1 个账号
📌 本次刷步数脚本休眠时间为 10 秒
============= 开始第1个账号 =============
🥾本次刷步数为18500-23000的随机步数
'token_info'
Traceback (most recent call last):
File "/ql/data/scripts/miranda0111_xmydsbs/xmydsbs.py", line 348, in
asyncio.run(start())
File "/usr/local/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/local/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/ql/data/scripts/miranda0111_xmydsbs/xmydsbs.py", line 75, in start
await sbs_info(ck[0], ck[1], step, istel)
File "/ql/data/scripts/miranda0111_xmydsbs/xmydsbs.py", line 174, in sbs_info
login_token,userid = await login(user, password, istel)
File "/ql/data/scripts/miranda0111_xmydsbs/xmydsbs.py", line 147, in login
return login_token,userid
UnboundLocalError: local variable 'login_token' referenced before assignment
执行结束... 2023-02-20 20:18:43 耗时 1 秒
好像token不对,获取到的信息有误 求大佬指教下