Commit 4242d11a authored by okhin's avatar okhin 🚴

STupid typo

parent 289e5348
......@@ -486,7 +486,7 @@ def little_admin():
# Get the list of all users
users = db.execute('SELECT api, token, admin FROM users').fetchall()
# Get the list of all blacklist patterns
balcklisted = db.execute('SELECT pattern, reason FROM blacklist').fetchall()
blacklisted = db.execute('SELECT pattern, reason FROM blacklist').fetchall()
return template('index', users=users, blacklists=blacklisted)
@app.post('/admin')
......@@ -517,7 +517,7 @@ def medium_admin():
db.commit()
users = db.execute('SELECT api, token, admin FROM users').fetchall()
balcklisted = db.execute('SELECT pattern, reason FROM blacklist').fetchall()
blacklisted = db.execute('SELECT pattern, reason FROM blacklist').fetchall()
return template('index', users=users, blacklists=blacklisted)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment