summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2017-10-07 12:30:02 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2017-10-07 12:30:02 +0100
commit8eb7f73befec4ff0c03dfa377a59aa86cedca63e (patch)
treef7cce66f29229a7e646784c07e63f93cc4cf92bb
parent4691f840c33291dfa78989e39b63c8e5d688f14e (diff)
downloadpoezio-8eb7f73befec4ff0c03dfa377a59aa86cedca63e.tar.gz
poezio-8eb7f73befec4ff0c03dfa377a59aa86cedca63e.tar.bz2
poezio-8eb7f73befec4ff0c03dfa377a59aa86cedca63e.tar.xz
poezio-8eb7f73befec4ff0c03dfa377a59aa86cedca63e.zip
user: Fix typo.
-rw-r--r--poezio/user.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/user.py b/poezio/user.py
index f32f1fc9..45af17b4 100644
--- a/poezio/user.py
+++ b/poezio/user.py
@@ -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