bv
This commit is contained in:
parent
f90e402ab0
commit
4bae627505
6 changed files with 31 additions and 6743 deletions
|
@ -20,7 +20,13 @@ def privacy(v):
|
|||
@app.get("/marseys")
|
||||
@auth_required
|
||||
def emojis(v):
|
||||
return render_template("marseys.html", v=v)
|
||||
with open("marsey_count.json", 'r') as file:
|
||||
marsey_count = loads(file.read())
|
||||
marsey_counted = []
|
||||
for k, val in marseys.items():
|
||||
marsey_counted.append((k, val, marsey_count[k]))
|
||||
marsey_counted = sorted(marsey_counted, key=lambda x: x[2], reverse=True)
|
||||
return render_template("marseys.html", v=v, marseys=marsey_counted)
|
||||
|
||||
@app.get("/terms")
|
||||
@auth_required
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue