Fix cropping error handling

Former-commit-id: 56327b3604
pull/1161/head
Piero Toffanin 2020-09-11 13:25:17 -04:00
rodzic aaeea44599
commit 251e1ce28f
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -60,7 +60,7 @@ class Cropper:
os.remove(original_geotiff)
except Exception as e:
log.ODM_WARNING('Something went wrong while cropping: {}'.format(e.message))
log.ODM_WARNING('Something went wrong while cropping: {}'.format(e))
# Revert rename
os.rename(original_geotiff, geotiff_path)