From b3e1f56fb94e5e885d092619ff6ef73207b78617 Mon Sep 17 00:00:00 2001 From: zhayujie Date: Sun, 19 Mar 2023 01:09:36 +0800 Subject: [PATCH] feat: itchat login hot reload --- channel/wechat/wechat_channel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channel/wechat/wechat_channel.py b/channel/wechat/wechat_channel.py index d43a0a3..66979c2 100644 --- a/channel/wechat/wechat_channel.py +++ b/channel/wechat/wechat_channel.py @@ -42,7 +42,7 @@ class WechatChannel(Channel): def startup(self): # login by scan QRCode - itchat.auto_login(enableCmdQR=2) + itchat.auto_login(enableCmdQR=2, hotReload=True) # start message listener itchat.run()