From b0a31b2bc31d17369565e9df06fa5e81e5f90571 Mon Sep 17 00:00:00 2001 From: wangmanv2 <42270394+wangmanv2@users.noreply.github.com> Date: Fri, 18 Dec 2020 09:20:44 +0800 Subject: [PATCH] Update main.py --- main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index d19a5c6..14fd176 100644 --- a/main.py +++ b/main.py @@ -90,8 +90,8 @@ if __name__ == "__main__": cookie = i autherror = False signerror = False - sign_return = NULL - me = NULL + sign_return = None + me = None try: me = getme(current, cookie) except: @@ -115,7 +115,7 @@ if __name__ == "__main__": msg.append(message) signerror = True - if sign.status_code == 200: + if sign_return.status_code == 200: message = '第{}个账号签到成功!'.format(cookies.index(i) + 1) success.append(cookie) msg.append(message)