From 2448e81b93fcf361356b6ea76bcdde252b2e6c0c Mon Sep 17 00:00:00 2001 From: movingheart Date: Tue, 19 Nov 2024 12:18:47 +0000 Subject: [PATCH 1/2] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 增加安装说明 --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 75767d9b..5907c8d8 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,11 @@ itchat是一个开源的微信个人号接口,使用python调用微信从未 ```python pip install itchat ``` +deepin系统或者UOS,采用下面的命令: + +``` +pip install itchat-uos==1.5.0.dev0 +``` ## 简单入门实例 From 537ef5570abd069adc8ee53ee75dce2ed6ea56f3 Mon Sep 17 00:00:00 2001 From: movingheart Date: Tue, 19 Nov 2024 12:22:14 +0000 Subject: [PATCH 2/2] Update login.py 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..1e7d0836 100644 --- a/itchat/components/login.py +++ b/itchat/components/login.py @@ -48,6 +48,7 @@ def login(self, enableCmdQR=False, picDir=None, qrCallback=None, qrStorage = self.get_QR(enableCmdQR=enableCmdQR, picDir=picDir, qrCallback=qrCallback) logger.info('Please scan the QR code to log in.') + time.sleep(18) isLoggedIn = False while not isLoggedIn: status = self.check_login()