🔶 fix saving image names with / in them

This commit is contained in:
geoffrey45 authored and Mungai Geoffrey committed 2022-04-03 13:47:28 +03:00
1 parent 9c808aa817
commit 9c16d27507
2 files changed
+2 -6

No files matched your search

+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: