forked from rDrama/rDrama
fds
parent
ece4727f4d
commit
591498ef40
|
@ -27,7 +27,7 @@ month = datetime.now().strftime('%B')
|
||||||
@app.get('/fix')
|
@app.get('/fix')
|
||||||
@admin_level_required(3)
|
@admin_level_required(3)
|
||||||
def fix(v):
|
def fix(v):
|
||||||
li = g.db.query(Submission).filter(Submission.url.like('https://i.ibb.co/%.webp'), Submission.id < 17000).all()
|
li = g.db.query(Submission).filter(Submission.url.like('https://i.ibb.co/%.webp'), Submission.id < 17000).order_by(id).all()
|
||||||
num = request.values.get('num')
|
num = request.values.get('num')
|
||||||
if num: li = li[:int(num)]
|
if num: li = li[:int(num)]
|
||||||
for post in li:
|
for post in li:
|
||||||
|
|
Loading…
Reference in New Issue