aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2023-05-28 10:39:57 +0300
committerAUTOMATIC <16777216c@gmail.com>2023-05-28 10:39:57 +0300
commitb957dcfece29c84ac0cfcd5a69475ff8684c531f (patch)
treed67f3a7dabe8d93bb1dd5769007c06c3939eda51
parentf9809e6e40bc0e64f70f9d600775490611e2392d (diff)
add quoting for infotext values that have a colon in them
-rw-r--r--modules/generation_parameters_copypaste.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/generation_parameters_copypaste.py b/modules/generation_parameters_copypaste.py
index 81aef502..071bd9ea 100644
--- a/modules/generation_parameters_copypaste.py
+++ b/modules/generation_parameters_copypaste.py
@@ -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)