Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
CardiJey committed Aug 7, 2024
1 parent 33fb915 commit 7679bd3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "flit_core.buildapi"
[project]
name = "config_manager"
authors = [{name = "Joris Yidong Scholl", email = "[email protected]"}]
version = "0.0.3"
version = "0.0.4"
description = "A small package to help me organize my settingsd"
license = {file = "LICENSE"}
classifiers = ["License :: OSI Approved :: MIT License"]
Expand Down
2 changes: 1 addition & 1 deletion src/config_manager/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def load_config(self):
except:
print("No (or corrupt) config file found. Default config file created at {0}. Please edit it and rerun.".format(self.config_path))
os.makedirs(self.data_dir, exist_ok=True)
for folder in folders_to_create:
for folder in self.folders_to_create:
os.makedirs(os.path.join(self.data_dir, folder), exist_ok=True)
with open(self.config_path, 'w', encoding='utf-8') as f:
json.dump(self.default_config, f, ensure_ascii=False, indent=4)
Expand Down

0 comments on commit 7679bd3

Please sign in to comment.