Update login.py

This commit is contained in:
zhao-zg 2024-07-30 11:46:07 +08:00 committed by GitHub
parent cd7aa93653
commit 117bb54907
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -165,7 +165,6 @@ async def loginPhone(chromium_path, workList, uid, headless):
break
if False == sms_sent:
button = await page.querySelector('.getMsg-btn.text-btn.timer.active')
print(button.evaluate("textContent"))
if button and "获取验证码" not in button.evaluate("textContent"):
print("进入直接发短信分支")
if not workList[uid].isAuto: