Skip to content
Snippets Groups Projects
Commit 3205915a authored by Erwan Rouchet's avatar Erwan Rouchet
Browse files

Merging problems

parent defd5735
No related branches found
No related tags found
1 merge request!22Add score to transcriptions
......@@ -69,4 +69,8 @@ class Command(BaseCommand):
# Replace <PATH> with (.+) and escape the rest
mask_regex = '^' + r'(.+)'.join(re.escape(p) for p in mask.split('<PATH>')) + '$'
IndexImporter(options['index_folder'], volume, mask=mask_regex).run(dry=options['dry_run'])
importer = IndexImporter(options['index_folder'], volume, mask=mask_regex)
if options['dry_run']:
importer.dry_run()
else:
importer.run()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment