Skip to content

Commit

Permalink
Issue #3 replace & in artist_name
Browse files Browse the repository at this point in the history
  • Loading branch information
kittinan committed Jul 22, 2020
1 parent cdfef49 commit 06349c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/view.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def catch_all(path):
img = ""
if cover_image:
img = load_image_b64(item["album"]["images"][1]["url"])
artist_name = item["artists"][0]["name"]
artist_name = item["artists"][0]["name"].replace("&", "&")
song_name = item["name"].replace("&", "&")

svg = make_svg(artist_name, song_name, img, is_now_playing, cover_image)
Expand Down

2 comments on commit 06349c7

@vercel
Copy link

@vercel vercel bot commented on 06349c7 Jul 22, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 06349c7 Jul 23, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.