Remove duplication Qrcode Show

This commit is contained in:
chunpat 2024-04-05 21:24:06 +08:00
parent 87e3d0848a
commit 6422500e32
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):