FIX: Apply expanduser to the credentials_file setting in music.tidal

This commit is contained in:
Fabio Manganiello 2022-09-17 06:30:20 +02:00
parent a9ebb4805a
commit 7c610adc84
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -61,7 +61,7 @@ class MusicTidalPlugin(RunnablePlugin):
from tidalapi import Quality from tidalapi import Quality
super().__init__(**kwargs) super().__init__(**kwargs)
self._credentials_file = credentials_file self._credentials_file = os.path.expanduser(credentials_file)
self._user_playlists = {} self._user_playlists = {}
try: try: