fs
This commit is contained in:
parent
dbdcefcfd9
commit
bbea5577a9
4 changed files with 7 additions and 7 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue