summaryrefslogtreecommitdiffstats
path: root/Reaktor/IRC/translate_colors.py
diff options
context:
space:
mode:
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__":