refactor references

This commit is contained in:
geoffrey45
2022-03-21 01:01:06 +03:00
parent cf14610509
commit 2bb5a89a8f
15 changed files with 56 additions and 245 deletions
+6 -1
View File
@@ -15,7 +15,12 @@ def create_config_dir() -> None:
_home_dir = os.path.expanduser("~")
config_folder = os.path.join(_home_dir, settings.CONFIG_FOLDER)
dirs = ["", "images", "images/artists", "images/thumbnails"]
dirs = [
"",
"images",
os.path.join("images", "artists"),
os.path.join("images", "thumbnails"),
]
for _dir in dirs:
path = os.path.join(config_folder, _dir)