Explorar el Código

fix: fix subscribe_msg

lanvent hace 3 años
padre
commit
cca49da730
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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"""\
                     感谢您的关注!