Update login.py

This commit is contained in:
zhao-zg 2024-07-30 09:30:03 +08:00 committed by GitHub
parent d2a425251b
commit e34133a3f4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -950,7 +950,7 @@ async def main(workList, uid, oocr):
return "unknown" return "unknown"
print("判断初始化浏览器") print("判断初始化浏览器")
chromium_path = await init_chrome() chromium_path = await init_chrome()
headless = True headless = 'new'
print("选择登录") print("选择登录")
if workList[uid].type == "phone": if workList[uid].type == "phone":
print("选择手机号登录") print("选择手机号登录")