1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-19 04:49:37 +02:00

feat: Enhance CDN management with entrypoint script and update country data handling

This commit is contained in:
Sean Morley 2025-02-05 16:50:05 -05:00
parent f7ff8f30b0
commit 921e756aef
4 changed files with 22 additions and 12 deletions

View file

@ -70,7 +70,7 @@ def saveCountryFlags():
Downloads the flags of all countries and saves them in the data/flags directory
"""
# Load the countries data
with open(os.path.join(os.path.dirname(__file__), 'data', f'countries_states_cities_{COUNTRY_REGION_JSON_VERSION}.json')) as f:
with open(os.path.join(os.path.dirname(__file__), 'data', f'countries_states_cities.json')) as f:
data = json.load(f)
for country in data: