diff options
author | mathieui <mathieui@mathieui.net> | 2018-07-21 17:09:52 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2018-07-21 17:09:52 +0200 |
commit | ea2d76864da2448152428a62fe5c7daaea6ab0d3 (patch) | |
tree | 7ac279bb9b1efbe6025a0435d4a121f11080fcb0 /poezio/windows/base_wins.py | |
parent | 3ec153a6a01faca5445bb7c21e0d427bb5096320 (diff) | |
download | poezio-ea2d76864da2448152428a62fe5c7daaea6ab0d3.tar.gz poezio-ea2d76864da2448152428a62fe5c7daaea6ab0d3.tar.bz2 poezio-ea2d76864da2448152428a62fe5c7daaea6ab0d3.tar.xz poezio-ea2d76864da2448152428a62fe5c7daaea6ab0d3.zip |
yapf -rip
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 41f6a761..eaedd82b 100644 --- a/poezio/windows/base_wins.py +++ b/poezio/windows/base_wins.py @@ -120,8 +120,8 @@ class Win: 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)) |