From 4dfc1d0f69c076075f8d7c8718b499995b5c8f62 Mon Sep 17 00:00:00 2001 From: birgits Date: Wed, 15 Nov 2023 11:40:15 -0800 Subject: [PATCH] Bug fix create directories recursively --- edisgo/tools/logger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edisgo/tools/logger.py b/edisgo/tools/logger.py index 033009119..5a4cbcbb8 100644 --- a/edisgo/tools/logger.py +++ b/edisgo/tools/logger.py @@ -119,7 +119,7 @@ def setup_logger( def create_dir(dir_path): if not os.path.isdir(dir_path): - os.mkdir(dir_path) + os.makedirs(dir_path) def get_default_root_dir(): dir_path = str(cfg_edisgo.get("user_dirs", "root_dir"))