diff --git a/index.py b/index.py index 23b4d2d..c15d640 100644 --- a/index.py +++ b/index.py @@ -241,7 +241,7 @@ def get_cookie(): for ck in cookies: if ck.get('status') == 0: ck_list.append(ck.get("value")) - if len(ck_list == 0): + if len(ck_list) == 0: print('共配置{}条CK,请添加环境变量,或查看环境变量状态'.format(len(ck_list))) return ck_list