Browse Source

fix: restore the original sleep time in itchat

master
lanvent 1 year ago
parent
commit
b3cabd9621
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      lib/itchat/components/login.py

+ 1
- 0
lib/itchat/components/login.py View File

@@ -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…
Cancel
Save