From 435e85319c9c7032be6fd9db75b1f99406b81a8f Mon Sep 17 00:00:00 2001 From: Sfan5 Date: Sat, 9 Nov 2013 18:28:35 +0100 Subject: [PATCH] Fix Rainbows --- rainbow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rainbow.py b/rainbow.py index ddb22d8..52b7da2 100755 --- a/rainbow.py +++ b/rainbow.py @@ -10,7 +10,7 @@ def colorize(text): for c in text: if c in [(str(i) for i in range(10))]: c = (u"\u200b".encode("utf8")) + c # 'ZERO WIDTH SPACE' cuz IRC clients are stupid - out += "\x03" + random.randint(2, 15) + c + out += "\x03" + str(random.randint(2, 15)) + c return out def rainbow(phenny, input):