Verified Commit 0ba6beef authored by Senan Kelly's avatar Senan Kelly
Browse files

Join from root dir when creating default art path

parent defb4e11
...@@ -879,7 +879,7 @@ class CacheManager(metaclass=Singleton): ...@@ -879,7 +879,7 @@ class CacheManager(metaclass=Singleton):
if id is None: if id is None:
art_path = 'ui/images/default-album-art.png' art_path = 'ui/images/default-album-art.png'
return CacheManager.Result.from_data(str( return CacheManager.Result.from_data(str(
Path(__file__).joinpath(art_path) Path(__file__).parent.joinpath(art_path)
)) ))
return self.return_cached_or_download( return self.return_cached_or_download(
f'cover_art/{id}_{size}', f'cover_art/{id}_{size}',
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment