Skip to content

Commit c2279da

Browse files
committed
fix re_param_code (regression bug PR AUTOMATIC1111#13458)
1 parent dc2074c commit c2279da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/generation_parameters_copypaste.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from modules import shared, ui_tempdir, script_callbacks, processing
1010
from PIL import Image
1111

12-
re_param_code = r'\s*(\w[\w -/]+):\s*("(?:\\.|[^\\"])+"|[^,]*)(?:,|$)'
12+
re_param_code = r'\s*(\w[\w \-/]+):\s*("(?:\\.|[^\\"])+"|[^,]*)(?:,|$)'
1313
re_param = re.compile(re_param_code)
1414
re_imagesize = re.compile(r"^(\d+)x(\d+)$")
1515
re_hypernet_hash = re.compile("\(([0-9a-f]+)\)$")

0 commit comments

Comments
 (0)