zhayujie 3 лет назад
Родитель
Сommit
b3e1f56fb9
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      channel/wechat/wechat_channel.py

+ 1 - 1
channel/wechat/wechat_channel.py

@@ -42,7 +42,7 @@ class WechatChannel(Channel):
 
 
     def startup(self):
     def startup(self):
         # login by scan QRCode
         # login by scan QRCode
-        itchat.auto_login(enableCmdQR=2)
+        itchat.auto_login(enableCmdQR=2, hotReload=True)
 
 
         # start message listener
         # start message listener
         itchat.run()
         itchat.run()