mirror of
https://github.com/PaiGramTeam/MibooGram.git
synced 2024-11-29 02:57:20 +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"))
|
logger.debug("QRCODE_GET_API: [%s]%s", res_json.get("retcode"), res_json.get("message"))
|
||||||
return False
|
return False
|
||||||
logger.debug("QRCODE_GET_API: %s", res_json.get("data"))
|
logger.debug("QRCODE_GET_API: %s", res_json.get("data"))
|
||||||
data = res_json.get("data", {})
|
res_data = res_json.get("data", {})
|
||||||
if data.get("stat", "") == "Confirmed":
|
if res_data.get("stat", "") == "Confirmed":
|
||||||
return await self.set_cookie(res_json.get("data", {}))
|
return await self.set_cookie(res_json.get("data", {}))
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
Loading…
Reference in New Issue
Block a user