fix: handle export bundler project path with spaces

related #1006
pull/1007/head
mordka 2019-07-08 14:19:48 +02:00
rodzic 69fc73ce44
commit 6f556f6717
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -23,7 +23,7 @@ class OSFMContext:
def export_bundler(self, destination_bundle_file, rerun=False):
if not io.file_exists(destination_bundle_file) or rerun:
# convert back to bundler's format
system.run('%s/bin/export_bundler %s' %
system.run('%s/bin/export_bundler "%s"' %
(context.opensfm_path, self.opensfm_project_path))
else:
log.ODM_WARNING('Found a valid Bundler file in: %s' % destination_bundle_file)