diff --git a/database.py b/database.py
index 2b76b7c..cdfd125 100644
--- a/database.py
+++ b/database.py
@@ -572,7 +572,7 @@ def artistInfo(artist):
"scrobbles":scrobbles,
"position":position,
"associated":others,
- "medals":MEDALS.get(artist),
+ "medals":{"gold":[],"silver":[],"bronze":[],**MEDALS.get(artist,{})},
"topweeks":WEEKLY_TOPARTISTS.get(artist,0)
}
except:
@@ -616,7 +616,7 @@ def trackInfo(track):
return {
"scrobbles":scrobbles,
"position":position,
- "medals":MEDALS_TRACKS.get((frozenset(track["artists"]),track["title"])),
+ "medals":{"gold":[],"silver":[],"bronze":[],**MEDALS_TRACKS.get((frozenset(track["artists"]),track["title"]),{})},
"certification":cert,
"topweeks":WEEKLY_TOPTRACKS.get(((frozenset(track["artists"]),track["title"])),0)
}
diff --git a/website/artist.pyhp b/website/artist.pyhp
index 23141c9..1f8cbb8 100644
--- a/website/artist.pyhp
+++ b/website/artist.pyhp
@@ -57,22 +57,17 @@