Skip to content

Commit

Permalink
fix: restore the original sleep time in itchat
Browse files Browse the repository at this point in the history
  • Loading branch information
lanvent committed Mar 26, 2023
1 parent 709468d commit b3cabd9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/itchat/components/login.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b3cabd9

Please sign in to comment.