diff --git a/devine/core/config.py b/devine/core/config.py index 5a55830..3682f0a 100644 --- a/devine/core/config.py +++ b/devine/core/config.py @@ -77,6 +77,7 @@ class Config: # noinspection PyProtectedMember config_path = Config._Directories.user_configs / Config._Filenames.root_config if not config_path.is_file(): + Config._Directories.user_configs.mkdir(parents=True, exist_ok=True) config_path.write_text("") config = Config.from_yaml(config_path)