kopia lustrzana https://github.com/OpenDroneMap/ODM
Raise exception instead of return precondition
rodzic
2aa03db889
commit
5c27a835df
|
@ -12,8 +12,7 @@ def extract_utm_coords(photos, images_path, output_coords_file):
|
|||
:return None
|
||||
"""
|
||||
if len(photos) == 0:
|
||||
log.ODM_ERROR("No input images, cannot create coordinates file of GPS positions")
|
||||
return
|
||||
raise Exception("No input images, cannot create coordinates file of GPS positions")
|
||||
|
||||
utm_zone = None
|
||||
hemisphere = None
|
||||
|
|
Ładowanie…
Reference in New Issue