Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
La Quadrature du Net
piphone
piphone-sip
Commits
4242d11a
Commit
4242d11a
authored
Apr 19, 2017
by
okhin
Browse files
STupid typo
parent
289e5348
Changes
1
Hide whitespace changes
Inline
Side-by-side
piphone.py
View file @
4242d11a
...
...
@@ -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
b
a
lcklisted
=
db
.
execute
(
'SELECT pattern, reason FROM blacklist'
).
fetchall
()
bl
a
cklisted
=
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
()
b
a
lcklisted
=
db
.
execute
(
'SELECT pattern, reason FROM blacklist'
).
fetchall
()
bl
a
cklisted
=
db
.
execute
(
'SELECT pattern, reason FROM blacklist'
).
fetchall
()
return
template
(
'index'
,
users
=
users
,
blacklists
=
blacklisted
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment