自定义路径,自动去除引号
This commit is contained in:
parent
800933453a
commit
f2533454d3
@ -32,13 +32,13 @@ def init():
|
|||||||
初始化 设置微信数据库路径,图片路径,解密需要的数据库
|
初始化 设置微信数据库路径,图片路径,解密需要的数据库
|
||||||
:return:
|
:return:
|
||||||
"""
|
"""
|
||||||
msg_path = request.json.get("msg_path", "").strip()
|
msg_path = request.json.get("msg_path", "").strip().strip("'").strip('"')
|
||||||
micro_path = request.json.get("micro_path", "").strip()
|
micro_path = request.json.get("micro_path", "").strip().strip("'").strip('"')
|
||||||
media_path = request.json.get("media_path", "").strip()
|
media_path = request.json.get("media_path", "").strip().strip("'").strip('"')
|
||||||
|
|
||||||
wx_path = request.json.get("wx_path", "").strip()
|
wx_path = request.json.get("wx_path", "").strip().strip("'").strip('"')
|
||||||
key = request.json.get("key", "").strip()
|
key = request.json.get("key", "").strip().strip("'").strip('"')
|
||||||
my_wxid = request.json.get("my_wxid", "").strip()
|
my_wxid = request.json.get("my_wxid", "").strip().strip("'").strip('"')
|
||||||
|
|
||||||
init_type = request.json.get("init_type", "").strip()
|
init_type = request.json.get("init_type", "").strip()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user