Skip to content

Commit 7f46e80

Browse files
committed
fix: remove left overs of failed rows
1 parent 9503a7d commit 7f46e80

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

mapswipe_workers/mapswipe_workers/utils/process_mapillary.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ def coordinate_download(
100100
tiles = create_tiles(polygon, level)
101101

102102
downloaded_metadata = []
103-
failed_tiles = []
104103

105104
if not tiles.empty:
106105
if not use_concurrency:
@@ -115,12 +114,10 @@ def coordinate_download(
115114

116115
for future in as_completed(futures):
117116
if future is not None:
118-
df, failed_row = future.result()
117+
df = future.result()
119118

120119
if df is not None and not df.empty:
121120
downloaded_metadata.append(df)
122-
if failed_row is not None:
123-
failed_tiles.append(failed_row)
124121
if len(downloaded_metadata):
125122
downloaded_metadata = pd.concat(downloaded_metadata, ignore_index=True)
126123
else:

0 commit comments

Comments
 (0)