From 7c610adc8499712c0b77ef3f6ea8b5ced939c5ab Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sat, 17 Sep 2022 06:30:20 +0200 Subject: [PATCH] FIX: Apply expanduser to the credentials_file setting in music.tidal --- platypush/plugins/music/tidal/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/plugins/music/tidal/__init__.py b/platypush/plugins/music/tidal/__init__.py index 2cf57d73e..a432dde70 100644 --- a/platypush/plugins/music/tidal/__init__.py +++ b/platypush/plugins/music/tidal/__init__.py @@ -61,7 +61,7 @@ class MusicTidalPlugin(RunnablePlugin): from tidalapi import Quality super().__init__(**kwargs) - self._credentials_file = credentials_file + self._credentials_file = os.path.expanduser(credentials_file) self._user_playlists = {} try: