diff options
Diffstat (limited to 'logbot.py')
-rwxr-xr-x | logbot.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -198,6 +198,8 @@ def replace_color(code, text): '36': '00aaaa', '37': 'F5F1DE', } + if code not in colors: + return text return '<span style="color: #%(color)s">%(text)s</span>' % dict( color = colors[code], text = text, |