This commit is contained in:
Aevann1 2022-01-22 21:28:49 +02:00
parent dbdcefcfd9
commit bbea5577a9
4 changed files with 7 additions and 7 deletions

View file

@ -366,7 +366,7 @@ def settings_profile(v):
@app.get("/badges")
@auth_required
def badges(v):
with open("badges.json", 'r') as f: BADGES = loads(f.read().replace("'",'"'))
with open("badges.json", 'r') as f: BADGES = loads(f.read())
return render_template("badges.html", v=v, badges=BADGES)