From 51cab3d7d3a4e03466bd94cdde1f8aa429a26a24 Mon Sep 17 00:00:00 2001 From: Sergey Vartanov Date: Tue, 3 Aug 2021 01:59:04 +0300 Subject: [PATCH] Fix path creation. --- roentgen/workspace.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roentgen/workspace.py b/roentgen/workspace.py index d117e65..8e3e130 100644 --- a/roentgen/workspace.py +++ b/roentgen/workspace.py @@ -58,12 +58,12 @@ def get_mapcss_path() -> Path: def get_mapcss_file_path() -> Path: """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: """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: