Skip to content

Commit

Permalink
Merge branch 'development' of github.com:nlef/moonraker-telegram-bot …
Browse files Browse the repository at this point in the history
…into development
  • Loading branch information
nlef committed Mar 7, 2024
2 parents 5b54341 + d9c2a0c commit 598a214
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bot/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,8 @@ def __init__(self, config: configparser.ConfigParser):

def _init_paths(self):
self.base_dir = os.path.expanduser(self.base_dir)
Path(self.base_dir).mkdir(parents=True, exist_ok=True)
if self.enabled:
Path(self.base_dir).mkdir(parents=True, exist_ok=True)
if self.ready_dir:
self.ready_dir = os.path.expanduser(self.ready_dir)

Expand Down

0 comments on commit 598a214

Please sign in to comment.