Login.py: add missing colon

Bug487-WuYuhan-Refactor
Hui Lan 2022-11-03 22:00:47 +08:00
parent 286e884dd8
commit 3cfec31c3f
1 changed files with 1 additions and 1 deletions

View File

@ -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']: