diff options
Diffstat (limited to 'poezio/windows/base_wins.py')
-rw-r--r-- | poezio/windows/base_wins.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/poezio/windows/base_wins.py b/poezio/windows/base_wins.py index b54a7b37..52b6c249 100644 --- a/poezio/windows/base_wins.py +++ b/poezio/windows/base_wins.py @@ -120,8 +120,8 @@ class Win(object): self._win.attron(attr_italic) if (attr_char in string.digits or attr_char == '-') and attr_char != '': - color_str = text[next_attr_char + 1:text.find( - '}', next_attr_char)] + color_str = text[next_attr_char + + 1:text.find('}', next_attr_char)] if ',' in color_str: tup, char = read_tuple(color_str) self._win.attron(to_curses_attr(tup)) |