Skip to content

Commit 6422500

Browse files
committed
Remove duplication Qrcode Show
1 parent 87e3d08 commit 6422500

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

media_platform/douyin/login.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,8 @@ async def login_by_qrcode(self):
101101
utils.logger.info("[DouYinLogin.login_by_qrcode] login qrcode not found please confirm ...")
102102
sys.exit()
103103

104-
# show login qrcode
105-
# utils.show_qrcode(base64_qrcode_img)
106104
partial_show_qrcode = functools.partial(utils.show_qrcode, base64_qrcode_img)
107105
asyncio.get_running_loop().run_in_executor(executor=None, func=partial_show_qrcode)
108-
utils.show_qrcode(base64_qrcode_img)
109106
await asyncio.sleep(2)
110107

111108
async def login_by_mobile(self):

0 commit comments

Comments
 (0)