From 515d6f7384e4d0028a4789db6b3ab4b4f5680d41 Mon Sep 17 00:00:00 2001 From: xaoyaoo Date: Sat, 13 Apr 2024 20:18:14 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E9=83=A8=E5=88=86=E6=83=85=E5=86=B5?= =?UTF-8?q?=E4=B8=8B=E8=A7=86=E9=A2=91=E4=B8=8D=E8=83=BD=E6=AD=A3=E5=B8=B8?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pywxdump/api/api.py | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/pywxdump/api/api.py b/pywxdump/api/api.py index c6301f4..209c84a 100644 --- a/pywxdump/api/api.py +++ b/pywxdump/api/api.py @@ -330,18 +330,18 @@ def get_real_time_msg(): msg_paths.sort() micro_paths = micro_paths[1] micro_paths.sort() - for i in media_paths: - print(i) - merge_real_time_db(key=key, db_path=i, merge_path=save_media_path) - for i in msg_paths: - print(i) - merge_real_time_db(key=key, db_path=i, merge_path=save_msg_path) - for i in micro_paths: - print(i) - merge_real_time_db(key=key, db_path=i, merge_path=save_micro_path) - # merge_real_time_db(key=key, db_path=media_paths[-1], merge_path=save_media_path) - # merge_real_time_db(key=key, db_path=msg_paths[-1], merge_path=save_msg_path) - # merge_real_time_db(key=key, db_path=micro_paths[-1], merge_path=save_micro_path) + # for i in media_paths: + # print(i) + # merge_real_time_db(key=key, db_path=i, merge_path=save_media_path) + # for i in msg_paths: + # print(i) + # merge_real_time_db(key=key, db_path=i, merge_path=save_msg_path) + # for i in micro_paths: + # print(i) + # merge_real_time_db(key=key, db_path=i, merge_path=save_micro_path) + merge_real_time_db(key=key, db_path=media_paths[-1], merge_path=save_media_path) + merge_real_time_db(key=key, db_path=msg_paths[-1], merge_path=save_msg_path) + merge_real_time_db(key=key, db_path=micro_paths[-1], merge_path=save_micro_path) return ReJson(0, "success")