Commit e7d17a0a authored by Sumner Evans's avatar Sumner Evans 💬
Browse files

Merge branch 'master' into 'master'

Join from root dir when creating default art path

See merge request sumner/sublime-music!24
parents defb4e11 0ba6beef
Pipeline #117263910 passed with stages
in 11 minutes and 14 seconds
...@@ -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