mirror of
https://github.com/PaiGramTeam/MibooGram.git
synced 2024-11-25 18:04:00 +00:00
🐛 Fix qlogin check_login
This commit is contained in:
parent
deccfa7c0f
commit
5696caf589
@ -133,8 +133,8 @@ class SignIn:
|
||||
logger.debug("QRCODE_GET_API: [%s]%s", res_json.get("retcode"), res_json.get("message"))
|
||||
return False
|
||||
logger.debug("QRCODE_GET_API: %s", res_json.get("data"))
|
||||
data = res_json.get("data", {})
|
||||
if data.get("stat", "") == "Confirmed":
|
||||
res_data = res_json.get("data", {})
|
||||
if res_data.get("stat", "") == "Confirmed":
|
||||
return await self.set_cookie(res_json.get("data", {}))
|
||||
|
||||
@staticmethod
|
||||
|
Loading…
Reference in New Issue
Block a user