user: Fix typo.
This commit is contained in:
parent
4691f840c3
commit
8eb7f73bef
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ class User(object):
|
|||
self.affiliation = affiliation
|
||||
self.show = show
|
||||
self.status = status
|
||||
if role not in ROLE_DICT: # avoid unvalid roles
|
||||
if role not in ROLE_DICT: # avoid invalid roles
|
||||
role = ''
|
||||
self.role = role
|
||||
|
||||
|
|
Loading…
Reference in a new issue