mirror of
https://github.com/THIS-IS-NOT-A-BACKUP/zspotify.git
synced 2024-11-29 19:24:34 +01:00
Merge branch 'main' of https://github.com/footsiefat/zspotify
This commit is contained in:
commit
436c363ed6
@ -54,7 +54,8 @@ class ZSpotify:
|
||||
|
||||
@classmethod
|
||||
def load_config(cls) -> None:
|
||||
with open(CONFIG_FILE_PATH, encoding='utf-8') as config_file:
|
||||
app_dir = os.path.dirname(__file__)
|
||||
with open(os.path.join(app_dir, CONFIG_FILE_PATH), encoding='utf-8') as config_file:
|
||||
cls.CONFIG = json.load(config_file)
|
||||
|
||||
@classmethod
|
||||
|
Loading…
Reference in New Issue
Block a user