fix 增加容错 #93
This commit is contained in:
parent
5407987f4d
commit
42b42c0ae1
@ -76,7 +76,7 @@ def init_key():
|
||||
return ReJson(1002, body=f"my_wxid is required: {my_wxid}")
|
||||
|
||||
old_merge_save_path = read_session(g.sf, my_wxid, "merge_path")
|
||||
if isinstance(old_merge_save_path, str) and os.path.exists(old_merge_save_path):
|
||||
if isinstance(old_merge_save_path, str) and old_merge_save_path and os.path.exists(old_merge_save_path):
|
||||
pmsg = ParsingMSG(old_merge_save_path)
|
||||
pmsg.close_all_connection()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user