From b2c9f46d78a8a579388773b1e6fbd09e6b602842 Mon Sep 17 00:00:00 2001 From: Blake Bengtson Date: Tue, 26 Nov 2013 16:32:54 -0600 Subject: [PATCH] Fixed bug with ghissues truncate function. (newlines were causing problems) --- plugins/github.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/github.py b/plugins/github.py index f763d36..025dc72 100644 --- a/plugins/github.py +++ b/plugins/github.py @@ -6,7 +6,7 @@ shortcuts = {"cloudbot": "ClouDev/CloudBot"} def truncate(msg): - nmsg = msg.split(" ") + nmsg = msg.split() out = None x = 0 for i in nmsg: