user: Fix typo.

This commit is contained in:
Emmanuel Gil Peyrot 2017-10-07 12:30:02 +01:00
parent 4691f840c3
commit 8eb7f73bef

View file

@ -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