From b3cabd96210c58fa1819c4c167e68c2448c1f334 Mon Sep 17 00:00:00 2001 From: lanvent Date: Sun, 26 Mar 2023 15:12:27 +0800 Subject: [PATCH] fix: restore the original sleep time in itchat --- lib/itchat/components/login.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/itchat/components/login.py b/lib/itchat/components/login.py index f0fc22d..4355f4b 100644 --- a/lib/itchat/components/login.py +++ b/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: