mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 20:43:04 +00:00
Merge - fix search and add correct image path for album card (#52)
This commit is contained in:
@@ -99,7 +99,7 @@ def use_memoji():
|
||||
Returns a path to a random memoji image.
|
||||
"""
|
||||
path = str(random.randint(0, 20)) + ".svg"
|
||||
return settings.IMG_ARTIST_URI + "defaults/" + path
|
||||
return "defaults/" + path
|
||||
|
||||
|
||||
def check_artist_image(image: str) -> str:
|
||||
@@ -112,7 +112,7 @@ def check_artist_image(image: str) -> str:
|
||||
img_name)):
|
||||
return use_memoji()
|
||||
else:
|
||||
return (settings.IMG_ARTIST_URI + img_name, )
|
||||
return img_name
|
||||
|
||||
|
||||
class Timer:
|
||||
|
||||
Reference in New Issue
Block a user