🔶 fix saving image names with / in them

This commit is contained in:
geoffrey45
2022-04-03 13:42:32 +03:00
committed by Mungai Geoffrey
parent 9c808aa817
commit 9c16d27507
2 changed files with 2 additions and 6 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ def get_album_image(album: list) -> str:
"""
for track in album:
img_p = track["album"] + track["albumartist"] + ".webp"
img_p = (track["album"] + track["albumartist"] + ".webp").replace("/", "::")
img = functions.extract_thumb(track["filepath"], webp_path=img_p)
if img is not None: