From 644537b9b61a8cbbeef925a2aa9ceacdb3f7692f Mon Sep 17 00:00:00 2001 From: xaoyaoo Date: Mon, 26 Aug 2024 20:00:42 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E7=BE=A4=E8=81=8Alist?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pywxdump/api/local_server.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pywxdump/api/local_server.py b/pywxdump/api/local_server.py index c8f70e5..4b76a13 100644 --- a/pywxdump/api/local_server.py +++ b/pywxdump/api/local_server.py @@ -207,12 +207,10 @@ def get_real_time_msg(): """ my_wxid = gc.get_conf(gc.at, "last") if not my_wxid: return ReJson(1001, body="my_wxid is required") - merge_path = gc.get_conf(my_wxid, "merge_path") key = gc.get_conf(my_wxid, "key") wx_path = gc.get_conf(my_wxid, "wx_path") - - if not merge_path or not key or not wx_path or not wx_path: + if not merge_path or not key or not wx_path: return ReJson(1002, body="msg_path or media_path or wx_path or key is required") real_time_exe_path = gc.get_conf(gc.at, "real_time_exe_path")