qinglong panel bug fixed

This commit is contained in:
Pesy Wu 2023-03-03 17:48:39 +08:00 committed by GitHub
parent eb4cfccde4
commit cf6a092602
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
import sys
import requests as r
import json
import telepot
import os
tele_enable = False
sc_enable = False
@ -11,7 +11,7 @@ sign_url = 'https://n.cg.163.com/api/v2/sign-today'
current = 'https://n.cg.163.com/api/v2/client-settings/@current'
cookies = sys.argv[1].split('#')
cookies = os.environ.get('wyycg_cookies').split('#')
if cookies == "" or cookies == []:
print('[网易云游戏自动签到]未设置cookie正在退出……')