Ljzd-PRO / Mys_Goods_Tool

米游社商品兑换工具 | 短信验证登录 | 终端图形界面
https://pypi.org/project/mys-goods-tool
MIT License
458 stars 70 forks source link

timeUp在isCheck为False时未定义 #49

Closed qutong20 closed 2 years ago

qutong20 commented 2 years ago

timeUpif isCheck内定义: https://github.com/Ljzd-PRO/Mys_Goods_Tool/blob/c4d13863ab877a172326e20bad86d0d1c8d4a317/main.py#L545-L551 因此,在isCheckFalse时, https://github.com/Ljzd-PRO/Mys_Goods_Tool/blob/c4d13863ab877a172326e20bad86d0d1c8d4a317/main.py#L621 使用timeUp时会出现错误。

可能的解决方案

可以考虑在该行之后定义timeUphttps://github.com/Ljzd-PRO/Mys_Goods_Tool/blob/c4d13863ab877a172326e20bad86d0d1c8d4a317/main.py#L523

Ljzd-PRO commented 2 years ago

了解了