From 98c1962ba9dbf7424722c42133da58dcf04c62d1 Mon Sep 17 00:00:00 2001 From: mouyong Date: Wed, 15 Mar 2023 14:34:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=89=8B=E6=9C=BA=E9=9C=80=E8=A6=81?= =?UTF-8?q?=E7=A1=AE=E8=AE=A4=E8=AE=BE=E5=A4=87=EF=BC=8C=E8=B6=85=E6=97=B6?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E4=BA=8C=E7=BB=B4=E7=A0=81=E4=B8=80=E7=9B=B4?= =?UTF-8?q?=E5=9C=A8=E5=88=B7=E6=96=B0=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- itchat/components/login.py | 1 + 1 file changed, 1 insertion(+) diff --git a/itchat/components/login.py b/itchat/components/login.py index c1fb0391..6b347f47 100644 --- a/itchat/components/login.py +++ b/itchat/components/login.py @@ -49,6 +49,7 @@ def login(self, enableCmdQR=False, picDir=None, qrCallback=None, picDir=picDir, qrCallback=qrCallback) logger.info('Please scan the QR code to log in.') isLoggedIn = False + time.sleep(15) while not isLoggedIn: status = self.check_login() if hasattr(qrCallback, '__call__'):