瀏覽代碼

fix: restore the original sleep time in itchat

master
lanvent 1 年之前
父節點
當前提交
b3cabd9621
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      lib/itchat/components/login.py

+ 1
- 0
lib/itchat/components/login.py 查看文件

@@ -68,6 +68,7 @@ def login(self, enableCmdQR=False, picDir=None, qrCallback=None,
logger.info('Please press confirm on your phone.')
isLoggedIn = None
time.sleep(7)
time.sleep(0.5)
elif status != '408':
break
if isLoggedIn:


Loading…
取消
儲存