Merge pull request #212 from chunpat/fixbug_qrcode_show

Remove duplication Qrcode Show
This commit is contained in:
程序员阿江-Relakkes 2024-04-05 22:02:06 +08:00 committed by GitHub
commit 5495d76fdb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 3 deletions

View File

@ -101,11 +101,8 @@ class DouYinLogin(AbstractLogin):
utils.logger.info("[DouYinLogin.login_by_qrcode] login qrcode not found please confirm ...")
sys.exit()
# show login qrcode
# utils.show_qrcode(base64_qrcode_img)
partial_show_qrcode = functools.partial(utils.show_qrcode, base64_qrcode_img)
asyncio.get_running_loop().run_in_executor(executor=None, func=partial_show_qrcode)
utils.show_qrcode(base64_qrcode_img)
await asyncio.sleep(2)
async def login_by_mobile(self):