mirror of
https://github.com/Cp0204/quark-auto-save.git
synced 2026-01-16 09:20:43 +08:00
cookie 去前后空格
This commit is contained in:
parent
c5cae270fc
commit
9400de3b72
@ -88,7 +88,7 @@ def get_cookies(cookie_val):
|
|||||||
|
|
||||||
class Quark:
|
class Quark:
|
||||||
def __init__(self, cookie, index=None):
|
def __init__(self, cookie, index=None):
|
||||||
self.cookie = cookie
|
self.cookie = cookie.strip()
|
||||||
self.index = index + 1
|
self.index = index + 1
|
||||||
self.is_active = False
|
self.is_active = False
|
||||||
self.nickname = ""
|
self.nickname = ""
|
||||||
@ -677,6 +677,7 @@ def verify_account(account):
|
|||||||
|
|
||||||
def do_sign(account):
|
def do_sign(account):
|
||||||
if not verify_account(account):
|
if not verify_account(account):
|
||||||
|
print()
|
||||||
return
|
return
|
||||||
# 每日领空间
|
# 每日领空间
|
||||||
growth_info = account.get_growth_info()
|
growth_info = account.get_growth_info()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user