Handle empty list

Former-commit-id: 77e124fc1d
pull/1161/head
Piero Toffanin 2020-05-15 17:27:48 -04:00
rodzic aaa896bc6e
commit ebbbe0a576
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -94,7 +94,7 @@ def get_geojson_shots_from_opensfm(reconstruction_file, geocoords_transformation
raise RuntimeError("%s does not exist." % reconstruction_file)
def merge_geojson_shots(geojson_shots_files, output_geojson_file):
result = None
result = {}
added_files = {}
for shot_file in geojson_shots_files:
with open(shot_file, "r") as f: