Skip to content

Commit 0e6193c

Browse files
authored
Merge pull request #5484 from d-vasilev/bugfix_regexp_json_data
fix issue with parsing relative filepath
2 parents 9c37885 + b1aae6c commit 0e6193c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/classes/json_data.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
from classes.app import get_app
4040

4141
# Compiled path regex
42-
path_regex = re.compile(r'"(image|path|protobuf_data_path)"\s*:\s*"(.*)"')
42+
path_regex = re.compile(r'"(image|path|protobuf_data_path)"\s*:\s*"(.*?)"')
4343
path_context = {}
4444

4545

0 commit comments

Comments
 (0)