fix: multiprocessing problems

This commit is contained in:
cwilvx
2025-05-11 14:10:28 +03:00
parent 29a916464c
commit c14ec4ba4b
6 changed files with 42 additions and 12 deletions
+5 -1
View File
@@ -29,7 +29,11 @@ class Paths:
@classmethod
def get_config_dir(cls):
return cls.XDG_CONFIG_DIR or os.path.realpath(".")
return (
cls.XDG_CONFIG_DIR
or os.environ.get("SWINGMUSIC_XDG_CONFIG_DIR")
or os.path.realpath(".")
)
@classmethod
def get_config_folder(cls):