🔷 redesign playlist header

This commit is contained in:
geoffrey45
2022-04-03 13:38:42 +03:00
committed by Mungai Geoffrey
parent d0e2980dfe
commit 9c808aa817
44 changed files with 95 additions and 51 deletions
+10 -3
View File
@@ -26,8 +26,15 @@ def create_config_dir() -> None:
path = os.path.join(config_folder, _dir)
try:
os.path.exists(path)
except FileNotFoundError:
os.makedirs(path)
except FileExistsError:
pass
os.chmod(path, 0o755)
os.chmod(path, 0o755)
if _dir == dirs[3]:
default_thumbnails_path = "../setup/default-images/thumbnails"
try:
os.path.exists(os.path.join(path, "defaults"))
except FileNotFoundError:
pass