Fixed bug with ghissues truncate function. (newlines were causing problems)
This commit is contained in:
parent
186f272062
commit
b2c9f46d78
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ shortcuts = {"cloudbot": "ClouDev/CloudBot"}
|
||||||
|
|
||||||
|
|
||||||
def truncate(msg):
|
def truncate(msg):
|
||||||
nmsg = msg.split(" ")
|
nmsg = msg.split()
|
||||||
out = None
|
out = None
|
||||||
x = 0
|
x = 0
|
||||||
for i in nmsg:
|
for i in nmsg:
|
||||||
|
|
Reference in a new issue