From 566c5b19e361ec841b3a26902acb10fdd4ac613a Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 14 Sep 2022 13:02:46 +0200 Subject: [PATCH] fuck sake --- files/routes/static.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/static.py b/files/routes/static.py index 5dfa735d5..fba2d7b09 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -28,7 +28,7 @@ def marseys(v): else: marseys = marseys.order_by(User.username, Marsey.count.desc()).all() original = listdir("/asset_submissions/marseys/original") - for marsey in marseys: + for marsey, user in marseys: if f'{marsey.name}.png' in original: marsey.og = f'{marsey.name}.png' elif f'{marsey.name}.webp' in original: