fix: osfm elevation check

pull/1482/head
Shuo Zhong 2022-06-22 10:38:11 -04:00
rodzic 7f7bc332ba
commit 8f5915cb79
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -152,7 +152,7 @@ class OSFMContext:
has_gps = False
with open(list_path, 'w') as fout:
for photo in photos:
if not photo.altitude:
if photo.altitude is None:
has_alt = False
if photo.latitude is not None and photo.longitude is not None:
has_gps = True