Commit 10dbee0d authored by AUTOMATIC's avatar AUTOMATIC

add quoting for infotext values that have a colon in them

parent 20ae71fa
......@@ -35,7 +35,7 @@ def reset():
def quote(text):
if ',' not in str(text) and '\n' not in str(text):
if ',' not in str(text) and '\n' not in str(text) and ':' not in str(text):
return text
return json.dumps(text, ensure_ascii=False)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment