mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 12:33:03 +00:00
🔷 redesign playlist header
This commit is contained in:
committed by
Mungai Geoffrey
parent
d0e2980dfe
commit
9c808aa817
+10
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user