Explorar o código

fix: fix subscribe_msg

lanvent %!s(int64=3) %!d(string=hai) anos
pai
achega
cca49da730
Modificáronse 1 ficheiros con 1 adicións e 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"""\
                     感谢您的关注!