Login.py: add missing colon
parent
286e884dd8
commit
3cfec31c3f
|
@ -107,7 +107,7 @@ class WarningMessage:
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
result = UserName(self.s).validate()
|
result = UserName(self.s).validate()
|
||||||
if result != 'OK'
|
if result != 'OK':
|
||||||
return result
|
return result
|
||||||
|
|
||||||
if self.s in ['signup', 'login', 'logout', 'reset', 'mark', 'back', 'unfamiliar', 'familiar', 'del']:
|
if self.s in ['signup', 'login', 'logout', 'reset', 'mark', 'back', 'unfamiliar', 'familiar', 'del']:
|
||||||
|
|
Loading…
Reference in New Issue