Sfoglia il codice sorgente

fix: fix subscribe_msg

lanvent 3 anni fa
parent
commit
cca49da730
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      channel/wechatmp/common.py

+ 1 - 1
channel/wechatmp/common.py

@@ -28,7 +28,7 @@ def verify_server(data):
 
 
 def subscribe_msg():
-    trigger_prefix = conf().get("single_chat_prefix", [""])
+    trigger_prefix = conf().get("single_chat_prefix", [""])[0]
     msg = textwrap.dedent(
         f"""\
                     感谢您的关注!