fix re_param_code (regression bug PR #13458)

This commit is contained in:
Won-Kyu Park 2023-10-03 01:16:41 +09:00
parent dc2074c46d
commit c2279da522
No known key found for this signature in database
GPG Key ID: 53AA79C8C9535D15

View File

@ -9,7 +9,7 @@ from modules.paths import data_path
from modules import shared, ui_tempdir, script_callbacks, processing
from PIL import Image
re_param_code = r'\s*(\w[\w -/]+):\s*("(?:\\.|[^\\"])+"|[^,]*)(?:,|$)'
re_param_code = r'\s*(\w[\w \-/]+):\s*("(?:\\.|[^\\"])+"|[^,]*)(?:,|$)'
re_param = re.compile(re_param_code)
re_imagesize = re.compile(r"^(\d+)x(\d+)$")
re_hypernet_hash = re.compile("\(([0-9a-f]+)\)$")