diff options
author | mathieui <mathieui@mathieui.net> | 2018-06-29 21:18:09 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2018-06-29 21:34:23 +0200 |
commit | 28ce49dcaaa1f7e958e09aff2af7d1e956796ad9 (patch) | |
tree | c1ffc7d4f9909080abd6dd2875a66f948879f00f /poezio/xhtml.py | |
parent | 39695ba42d9183584edb6c6b93b02b04be67f126 (diff) | |
download | poezio-28ce49dcaaa1f7e958e09aff2af7d1e956796ad9.tar.gz poezio-28ce49dcaaa1f7e958e09aff2af7d1e956796ad9.tar.bz2 poezio-28ce49dcaaa1f7e958e09aff2af7d1e956796ad9.tar.xz poezio-28ce49dcaaa1f7e958e09aff2af7d1e956796ad9.zip |
Update poezio for the new tabs module
Diffstat (limited to 'poezio/xhtml.py')
-rw-r--r-- | poezio/xhtml.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/poezio/xhtml.py b/poezio/xhtml.py index df11d005..c03b206e 100644 --- a/poezio/xhtml.py +++ b/poezio/xhtml.py @@ -562,8 +562,8 @@ def poezio_colors_to_html(string): check_property('font-style', 'italic') if attr_char in digits: - number_str = string[next_attr_char + 1:string.find( - '}', next_attr_char)] + number_str = string[next_attr_char + + 1:string.find('}', next_attr_char)] number = int(number_str) if number in number_to_color_names: check_property('color', |