Skip to content

Commit 3fa3049

Browse files
committed
fix bug, variable not defined for tile server
1 parent 11a3e4b commit 3fa3049

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mapswipe_workers/mapswipe_workers/generate_stats/project_stats.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,8 @@ def get_per_project_statistics(project_id: str, project_info: pd.Series) -> dict
353353

354354
if any("maxar" in s for s in project_info["tile_server_names"]):
355355
add_metadata = True
356+
else:
357+
add_metadata = False
356358

357359
# aggregate results by task id
358360
agg_results_df = get_agg_results_by_task_id(results_df, tasks_df)

0 commit comments

Comments
 (0)