diff --git a/src/octoprint/settings.py b/src/octoprint/settings.py index c0af8eabca..8ed0c86fb1 100644 --- a/src/octoprint/settings.py +++ b/src/octoprint/settings.py @@ -181,6 +181,9 @@ def _init_settings_dir(self, basedir): else: self.settings_dir = _resolveSettingsDir(APPNAME) + if not os.path.isdir(self.settings_dir): + os.makedirs(self.settings_dir) + def _getDefaultFolder(self, type): folder = default_settings["folder"][type] if folder is None: