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")