Increased version

Former-commit-id: f7cc5d09da
pull/1161/head
Piero Toffanin 2019-06-25 13:28:51 -04:00
rodzic 9b40dbbb42
commit b81f829afc
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -1 +1 @@
0.8.0 0.8.1

Wyświetl plik

@ -200,7 +200,7 @@ class OSFMContext:
try: try:
reconstruction_file = self.path("reconstruction.json") reconstruction_file = self.path("reconstruction.json")
with open(output, 'w') as fout: with open(output, 'w') as fout:
fout.write(json.dumps(camera.get_cameras_from_opensfm(reconstruction_file))) fout.write(json.dumps(camera.get_cameras_from_opensfm(reconstruction_file), indent=4))
except Exception as e: except Exception as e:
log.ODM_WARNING("Cannot export cameras to %s. %s." % (output, str(e))) log.ODM_WARNING("Cannot export cameras to %s. %s." % (output, str(e)))
else: else: