diff options
author | Cédric Bonhomme <kimble.mandel+bitbucket@gmail.com> | 2014-06-08 18:25:06 +0200 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel+bitbucket@gmail.com> | 2014-06-08 18:25:06 +0200 |
commit | 0a80a6a62e94b326d9f1dea947ebbc87149a1922 (patch) | |
tree | ba7f055f7910e1b5317ce8b952c43179116942d5 /pyaggr3g470r/forms.py | |
parent | Font size for the sidebar: 100% (diff) | |
parent | supporting feed without date or with ill formated date (diff) | |
download | newspipe-0a80a6a62e94b326d9f1dea947ebbc87149a1922.tar.gz newspipe-0a80a6a62e94b326d9f1dea947ebbc87149a1922.tar.bz2 newspipe-0a80a6a62e94b326d9f1dea947ebbc87149a1922.zip |
Merged in jaesivsm/pyaggr3g470r (pull request #1)
misc fixes
Diffstat (limited to 'pyaggr3g470r/forms.py')
-rw-r--r-- | pyaggr3g470r/forms.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/forms.py b/pyaggr3g470r/forms.py index 57076428..d745154b 100644 --- a/pyaggr3g470r/forms.py +++ b/pyaggr3g470r/forms.py @@ -71,7 +71,7 @@ class SigninForm(Form): user = User.query.filter(User.email == self.email.data).first() if user and user.check_password(self.password.data) and user.activation_key == "": return True - elif user.activation_key != "": + elif user and user.activation_key != "": flash(lazy_gettext('Account not confirmed'), 'danger') return False else: |