aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/views.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-08-25 13:53:42 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-08-25 13:53:42 +0200
commit27ccdb03403a0581ed6137ef6a4b8e3afcdd23d4 (patch)
tree05107ccf740366193f34c1913564120a097d4f60 /pyaggr3g470r/views.py
parentBetter to use a warning message. (diff)
downloadnewspipe-27ccdb03403a0581ed6137ef6a4b8e3afcdd23d4.tar.gz
newspipe-27ccdb03403a0581ed6137ef6a4b8e3afcdd23d4.tar.bz2
newspipe-27ccdb03403a0581ed6137ef6a4b8e3afcdd23d4.zip
Minor typo..
Diffstat (limited to 'pyaggr3g470r/views.py')
-rw-r--r--pyaggr3g470r/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py
index 6bb430bb..21490414 100644
--- a/pyaggr3g470r/views.py
+++ b/pyaggr3g470r/views.py
@@ -184,7 +184,7 @@ def signup():
Signup page.
"""
if not os.environ.get("SELF_REGISTRATION", False):
- flash(gettext("Self registration is disabled."), 'warning')
+ flash(gettext("Self-registration is disabled."), 'warning')
return redirect(url_for('home'))
if g.user is not None and g.user.is_authenticated():
return redirect(url_for('home'))
bgstack15