From 3cfec31c3fe739d679c2af3d1e1bbaf3e5826896 Mon Sep 17 00:00:00 2001 From: Hui Lan Date: Thu, 3 Nov 2022 22:00:47 +0800 Subject: [PATCH] Login.py: add missing colon --- app/Login.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']: