Skip to content

Commit

Permalink
Bug fix create directory for logging
Browse files Browse the repository at this point in the history
  • Loading branch information
birgits committed Nov 15, 2023
1 parent 7ea7eb8 commit 097f965
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edisgo/tools/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def create_home_dir():
log_dir = os.path.join(
get_default_root_dir(), cfg_edisgo.get("user_dirs", "log_dir")
)
create_dir(log_dir)
create_dir(log_dir)

if log_dir is not None:
file_name = os.path.join(log_dir, file_name)
Expand Down

0 comments on commit 097f965

Please sign in to comment.