diff --git a/app/Login.py b/app/Login.py index e5cdd9b..9c89b91 100644 --- a/app/Login.py +++ b/app/Login.py @@ -107,7 +107,7 @@ class WarningMessage: def __str__(self): result = UserName(self.s).validate() - if result != 'OK' + if result != 'OK': return result if self.s in ['signup', 'login', 'logout', 'reset', 'mark', 'back', 'unfamiliar', 'familiar', 'del']: