This commit is contained in:
Aevann1 2022-01-22 12:41:37 +02:00
parent ccf949fb93
commit 7e9622a118
7 changed files with 290 additions and 278 deletions

View file

@ -17,8 +17,8 @@ def privacy(v):
@app.get("/marseys")
@auth_required
def emojis(v):
with open("marsey_count.json", 'r') as file:
marsey_count = loads(file.read())
with open("marsey_count.json", 'r') as f:
marsey_count = loads(f.read())
marsey_counted = []
for k, val in marseys.items():
marsey_counted.append((k, val, marsey_count[k]))