Cp0204 / ChinaTelecomMonitor

中国电信 话费、通话、流量 套餐用量监控,支持青龙,支持部署成 API 服务。
https://hub.docker.com/r/cp0204/chinatelecommonitor
GNU Affero General Public License v3.0
72 stars 8 forks source link

提示登陆成功后弹出报错 #11

Closed liangjuyao closed 1 month ago

liangjuyao commented 2 months ago

Traceback (most recent call last): File "/ql/data/scripts/Cp0204_ChinaTelecomMonitor/telecom_monitor.py", line 194, in main() File "/ql/data/scripts/Cp0204_ChinaTelecomMonitor/telecom_monitor.py", line 127, in main summary = telecom.to_summary(important_data["responseData"]["data"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/ql/data/scripts/Cp0204_ChinaTelecomMonitor/telecom_class.py", line 232, in to_summary float(data["balanceInfo"]["indexBalanceDataInfo"]["balance"]) * 100


TypeError: 'NoneType' object is not subscriptable
Cp0204 commented 2 months ago

邮件我你的登录账密

Cp0204 commented 1 month ago

https://github.com/Cp0204/ChinaTelecomMonitor/issues/7