From 2d8f18d9fb53b24784ab72cb86873cc3dbf6e4e0 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 19 Mar 2022 16:27:36 +0200 Subject: [PATCH] u do it for free --- files/routes/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/admin.py b/files/routes/admin.py index d021b09b0..5ddd8c1bd 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -27,7 +27,7 @@ month = datetime.now().strftime('%B') @app.get('/fix') @admin_level_required(3) def fix(v): - li = g.db.query(Submission).filter(Submission.url.like('https://i.ibb.co/%.webp'), Submission.id < 17000).order_by(id).all() + li = g.db.query(Submission).filter(Submission.url.like('https://i.ibb.co/%.webp'), Submission.id < 17000).order_by(Submission.id).all() num = request.values.get('num') if num: li = li[:int(num)] for post in li: