Commit ff38594a authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

correct syntax

parent b066530f
...@@ -142,7 +142,9 @@ def make_output_path(output_dir, key): ...@@ -142,7 +142,9 @@ def make_output_path(output_dir, key):
def non_existing_files(paths, force=False): def non_existing_files(paths, force=False):
if force: if force:
return range(len(paths)) for i in range(len(paths)):
yield i
for i, path in enumerate(paths): for i, path in enumerate(paths):
if not os.path.isfile(path): if not os.path.isfile(path):
yield i yield i
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment