mirror of
https://github.com/enzet/map-machine.git
synced 2025-06-06 12:51:53 +02:00
Fix path creation.
This commit is contained in:
parent
6fd2c81235
commit
51cab3d7d3
1 changed files with 2 additions and 2 deletions
|
@ -58,12 +58,12 @@ def get_mapcss_path() -> Path:
|
||||||
|
|
||||||
def get_mapcss_file_path() -> Path:
|
def get_mapcss_file_path() -> Path:
|
||||||
"""Directory for MapCSS files."""
|
"""Directory for MapCSS files."""
|
||||||
return check_and_create(_MAPCSS_PATH) / "roentgen_icons.mapcss"
|
return get_mapcss_path() / "roentgen_icons.mapcss"
|
||||||
|
|
||||||
|
|
||||||
def get_mapcss_icons_path() -> Path:
|
def get_mapcss_icons_path() -> Path:
|
||||||
"""Directory for icons used by MapCSS file."""
|
"""Directory for icons used by MapCSS file."""
|
||||||
return get_mapcss_path() / MAPCSS_ICONS_DIRECTORY_NAME
|
return check_and_create(get_mapcss_path() / MAPCSS_ICONS_DIRECTORY_NAME)
|
||||||
|
|
||||||
|
|
||||||
def get_icon_grid_path() -> Path:
|
def get_icon_grid_path() -> Path:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue