Post condition check

Former-commit-id: 954ba33db0
pull/1161/head
Piero Toffanin 2019-04-08 23:27:16 -04:00
rodzic 06aeb1d121
commit 779d48d272
1 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -32,7 +32,10 @@ def extract_utm_coords(photos, images_path, output_coords_file):
raise Exception("Failed to convert GPS position to UTM for %s" % photo.filename)
coords.append(coord)
if utm_zone is None:
raise Exception("No images seem to have GPS information")
# Calculate average
dx = 0.0
dy = 0.0