summaryrefslogtreecommitdiff
path: root/poezio/user.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2018-01-13 15:33:19 +0100
committermathieui <mathieui@mathieui.net>2018-01-13 15:33:19 +0100
commit12ede4d3019a611b3b58d245d65c52bc01f37046 (patch)
treec723738a7d266fdabea15b1ebcd17fec7cb648f1 /poezio/user.py
parent6fe2f208337db898d370d7a2374b416d998b5b5f (diff)
downloadpoezio-12ede4d3019a611b3b58d245d65c52bc01f37046.tar.gz
poezio-12ede4d3019a611b3b58d245d65c52bc01f37046.tar.bz2
poezio-12ede4d3019a611b3b58d245d65c52bc01f37046.tar.xz
poezio-12ede4d3019a611b3b58d245d65c52bc01f37046.zip
yapf -ir
Diffstat (limited to 'poezio/user.py')
-rw-r--r--poezio/user.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/poezio/user.py b/poezio/user.py
index ae70f6f8..b51efb14 100644
--- a/poezio/user.py
+++ b/poezio/user.py
@@ -55,8 +55,7 @@ class User(object):
theme = get_theme()
if theme.ccg_palette:
# use XEP-0392 CCG
- fg_color = colors.ccg_text_to_color(
- theme.ccg_palette, self.nick)
+ fg_color = colors.ccg_text_to_color(theme.ccg_palette, self.nick)
self.color = fg_color, -1
else:
mod = len(theme.LIST_COLOR_NICKNAMES)