修复无法自动解密(解密报错的问题)
This commit is contained in:
parent
654e45e528
commit
244165b658
@ -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 os.path.exists(old_merge_save_path):
|
||||
if isinstance(old_merge_save_path, str) 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