Fix Community Submission export. Fix CSV concatenation logic to prevent duplicates when there is no new ADSB.lol data.

This commit is contained in:
ggman12
2026-02-24 03:18:53 -05:00
parent 4b6a043a9d
commit b0526f0a95
3 changed files with 37 additions and 15 deletions
@@ -24,7 +24,7 @@ def read_all_submissions(community_dir: Path) -> list[dict]:
"""Read all JSON submissions from the community directory."""
all_submissions = []
for json_file in sorted(community_dir.glob("*.json")):
for json_file in sorted(community_dir.glob("**/*.json")):
try:
with open(json_file) as f:
data = json.load(f)