summaryrefslogtreecommitdiff
path: root/src/xhtml.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/xhtml.py')
-rw-r--r--src/xhtml.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xhtml.py b/src/xhtml.py
index 25d23bf9..55582066 100644
--- a/src/xhtml.py
+++ b/src/xhtml.py
@@ -133,7 +133,7 @@ def shell_colors_to_poezio_colors(string):
elif num == 1:
res += '\x19b'
elif num >= 31 and num <= 37:
- res += '\x19%s' % (num-30,)
+ res += '\x19%d' % (num-30,)
return res
def remove_elinks_indent(string):
lines = string.split('\n')