Join from root dir when creating default art path

This commit is contained in:
sentriz
2020-02-12 12:47:35 +00:00
parent defb4e1170
commit 0ba6beef54

View File

@@ -879,7 +879,7 @@ class CacheManager(metaclass=Singleton):
if id is None:
art_path = 'ui/images/default-album-art.png'
return CacheManager.Result.from_data(str(
Path(__file__).joinpath(art_path)
Path(__file__).parent.joinpath(art_path)
))
return self.return_cached_or_download(
f'cover_art/{id}_{size}',