From c787f602d9709865e806d1fd8effb4e93af24ba4 Mon Sep 17 00:00:00 2001 From: Zsolt Ero Date: Thu, 9 Oct 2025 00:22:19 +0200 Subject: [PATCH] assets --- modules/http_host/http_host_lib/assets.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/http_host/http_host_lib/assets.py b/modules/http_host/http_host_lib/assets.py index 8c509b9..01c425d 100644 --- a/modules/http_host/http_host_lib/assets.py +++ b/modules/http_host/http_host_lib/assets.py @@ -31,7 +31,7 @@ def download_and_extract_asset_tar_gz(asset_kind): print(f'Downloading asset {asset_kind}') - asset_dir = config.local_assets_dir / asset_kind + asset_dir = config.assets_dir / asset_kind asset_dir.mkdir(exist_ok=True, parents=True) url = f'https://assets.openfreemap.com/{asset_kind}/ofm.tar.gz' @@ -62,7 +62,7 @@ def download_sprites() -> bool: print('Downloading sprites') - sprites_dir = config.local_assets_dir / 'sprites' + sprites_dir = config.assets_dir / 'sprites' sprites_dir.mkdir(exist_ok=True, parents=True) r = requests.get('https://assets.openfreemap.com/files.txt', timeout=30)