summaryrefslogtreecommitdiffstats
path: root/Reaktor/IRC/translate_colors.py
diff options
context:
space:
mode:
authormakefu <root@pigstarter.de>2013-12-17 09:29:24 +0100
committermakefu <root@pigstarter.de>2013-12-17 09:29:24 +0100
commite8a3666d702fc099baba8b0b41ff414a8571fd55 (patch)
tree2f72626742ee8213a5fcf57803818b7aa64e5cc0 /Reaktor/IRC/translate_colors.py
parentf5c8830887fc238ed1d1075e1459dadc44f5ad4d (diff)
parentabf03f260a3d4b3b1b62c98ede3014b724658e1c (diff)
Merge branch 'master' of https://github.com/krebscode/painload
Diffstat (limited to 'Reaktor/IRC/translate_colors.py')
-rw-r--r--Reaktor/IRC/translate_colors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Reaktor/IRC/translate_colors.py b/Reaktor/IRC/translate_colors.py
index bd716618..3ea34be6 100644
--- a/Reaktor/IRC/translate_colors.py
+++ b/Reaktor/IRC/translate_colors.py
@@ -23,7 +23,7 @@ COLOR_MAP = {
}
def translate_colors (line):
for color,replace in COLOR_MAP.items():
- line = line.replace(color,replace)
+ line = line.replace(color.encode(encoding='UTF-8'),replace.encode(encoding='UTF-8'))
return line
if __name__ == "__main__":