aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-05-15 17:31:58 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-05-15 17:31:58 +0200
commitd136ef719d519a4f08855dd953f76b78decf7291 (patch)
tree267e9dc1fdbf8b005a1d64caf1c78e336d398ed8 /pyaggr3g470r
parentAdded mailto link. (diff)
downloadnewspipe-d136ef719d519a4f08855dd953f76b78decf7291.tar.gz
newspipe-d136ef719d519a4f08855dd953f76b78decf7291.tar.bz2
newspipe-d136ef719d519a4f08855dd953f76b78decf7291.zip
Typo.
Diffstat (limited to 'pyaggr3g470r')
-rw-r--r--pyaggr3g470r/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py
index 5028a950..a8d6da51 100644
--- a/pyaggr3g470r/views.py
+++ b/pyaggr3g470r/views.py
@@ -796,8 +796,8 @@ def disable_user(user_id=None):
import random, base64, hashlib
user.apikey = base64.b64encode(hashlib.sha512( str(random.getrandbits(256)) ).digest(),
random.choice(['rA','aZ','gQ','hH','hG','aR','DD'])).rstrip('==')
- flash('Account of the user A"' + user.nickname + '" successfully disabled.', 'success')
+ flash('Account of the user "' + user.nickname + '" successfully disabled.', 'success')
db.session.commit()
else:
flash('This user does not exist.', 'danger')
- return redirect(redirect_url()) \ No newline at end of file
+ return redirect(redirect_url())
bgstack15