Skip to content

Commit

Permalink
Change ourairport url to more available and fast location. (#1990)
Browse files Browse the repository at this point in the history
Fix #1989

Co-authored-by: ReimarBauer <[email protected]>
  • Loading branch information
joernu76 and ReimarBauer authored Sep 3, 2023
1 parent 7a89df6 commit 3a29f6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mslib/utils/airdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def get_airports(force_download=False, url=None):
_airports_mtime = Airspace().airports_mtime

if url is None:
url = "https://ourairports.com/data/airports.csv"
url = "https://davidmegginson.github.io/ourairports-data/airports.csv"

file_exists = os.path.exists(os.path.join(OSDIR, "downloads", "aip", "airports.csv"))

Expand Down

0 comments on commit 3a29f6b

Please sign in to comment.