u do it for free

master
Aevann1 2022-03-19 16:27:36 +02:00
parent 591498ef40
commit 2d8f18d9fb
1 changed files with 1 additions and 1 deletions

View File

@ -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: