mirror of
https://github.com/PlaneQuery/OpenAirframes.git
synced 2026-11-19 13:03:52 +01:00
make return consistant
This commit is contained in:
1 parent
ac177e8025
commit
94cf50ac3a
1 file changed
+1
-1
@@ -113,7 +113,7 @@ def process_single_day(target_day: datetime) -> tuple[str | None, list[str]]:
|
||||
extract_dir = download_and_extract(version_date)
|
||||
if not extract_dir:
|
||||
print(f"Failed to download/extract data for {date_str}")
|
||||
return None, []
|
||||
raise Exception(f"No data available for {date_str}")
|
||||
|
||||
icaos = list_icao_folders(extract_dir)
|
||||
print(f"Found {len(icaos)} ICAOs for {date_str}")
|
||||
|
||||
Reference in new issue
Block a user