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:
parent
f7ff8f30b0
commit
921e756aef
4 changed files with 22 additions and 12 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue