summaryrefslogtreecommitdiff
path: root/poezio/windows
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2019-01-22 21:07:25 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2019-01-22 21:07:25 +0100
commit66c4f02c8ef8bb1d5f67086b24f65d2557f4d13d (patch)
treef20b222f3e05900cf4d859b1e5ab9813bcd57829 /poezio/windows
parenta1af8a49f15ff9d11a7c1e0ce6809e632ac25d28 (diff)
downloadpoezio-66c4f02c8ef8bb1d5f67086b24f65d2557f4d13d.tar.gz
poezio-66c4f02c8ef8bb1d5f67086b24f65d2557f4d13d.tar.bz2
poezio-66c4f02c8ef8bb1d5f67086b24f65d2557f4d13d.tar.xz
poezio-66c4f02c8ef8bb1d5f67086b24f65d2557f4d13d.zip
Fix syntax errors in the previous commit.
Diffstat (limited to 'poezio/windows')
-rw-r--r--poezio/windows/info_wins.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/poezio/windows/info_wins.py b/poezio/windows/info_wins.py
index d07cbe20..3a8d1863 100644
--- a/poezio/windows/info_wins.py
+++ b/poezio/windows/info_wins.py
@@ -206,7 +206,7 @@ class ConversationInfoWin(InfoWin):
"""
Write the information about the contact
"""
- color = to_curses_attr(get_theme().COLOR_INFORMATION_BAR))
+ color = to_curses_attr(get_theme().COLOR_INFORMATION_BAR)
if not contact:
self.addstr("(contact not in roster)", color)
return
@@ -219,7 +219,7 @@ class ConversationInfoWin(InfoWin):
Just write the jid that we are talking to
"""
theme = get_theme()
- color = to_curses_attr(theme.COLOR_INFORMATION_BAR))
+ color = to_curses_attr(theme.COLOR_INFORMATION_BAR)
self.addstr('[', color)
self.addstr(jid.full,
to_curses_attr(theme.COLOR_CONVERSATION_NAME))
@@ -241,7 +241,7 @@ class DynamicConversationInfoWin(ConversationInfoWin):
log.debug("write_contact_jid DynamicConversationInfoWin, jid: %s",
jid.resource)
theme = get_theme()
- color = to_curses_attr(theme.COLOR_INFORMATION_BAR))
+ color = to_curses_attr(theme.COLOR_INFORMATION_BAR)
self.addstr('[', color)
self.addstr(jid.bare,
to_curses_attr(theme.COLOR_CONVERSATION_NAME))