修复未设置teleid和teletoken变量发生的报错

This commit is contained in:
Pesy Wu 2020-11-22 22:16:18 +08:00 committed by GitHub
parent 776c25ac0d
commit 2c9cb57409
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,6 +19,7 @@ elif len(sys.argv)==4:
cookie=sys.argv[1] cookie=sys.argv[1]
teleid=sys.argv[2] teleid=sys.argv[2]
teletoken=sys.argv[3] teletoken=sys.argv[3]
if teleid!="" and teletoken!="":
tele_enable=True tele_enable=True
if tele_enable: if tele_enable: