added scene images to scene json

This commit is contained in:
argoneus 2020-10-21 23:40:00 +02:00
parent 2cc7eba22b
commit 12051045cc
3 changed files with 23 additions and 18 deletions

View file

@ -15,7 +15,7 @@ def translate_dir(dir_in, tsv_out_dir, json_out_dir, is_global):
files = [
f
for f in glob(os.path.join(dir_in, "**/Scenario/*.tsv"), recursive=True)
if "{os.path.sep}Diva{os.path.sep}" not in f
if f"{os.path.sep}Diva{os.path.sep}" not in f
]
if len(files) == 0: