From 23bb87026b0966632ef59d582e2778202344485c Mon Sep 17 00:00:00 2001 From: rainerosion Date: Mon, 23 May 2022 18:50:59 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=82=E9=85=8D=E9=9D=92=E9=BE=99=E9=9D=A2?= =?UTF-8?q?=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/index.py b/index.py index f197e0b..5fe95b1 100644 --- a/index.py +++ b/index.py @@ -234,9 +234,6 @@ class Sign(Base): # 获取要执行兑换的cookie -pattern_pin = re.compile(r'pt_pin=([\w\W]*?);') - - def get_cookie(): ck_list = [] cookie = None @@ -260,7 +257,7 @@ if __name__ == '__main__': # 此处填米游社的COOKIE # 注: Github Actions用户请到Settings->Secrets里设置,Name=COOKIE,Value=<获取的值> # 多个账号的COOKIE值之间用 # 号隔开,例如: 1#2#3#4 - COOKIE = "#".join(get_cookie) + COOKIE = "#".join(get_cookie()) if os.environ.get('COOKIE', '') != '': COOKIE = os.environ['COOKIE']