From 10e23f68a214f47246def2573a0c062133350d7b Mon Sep 17 00:00:00 2001 From: Stefan Krulj Date: Fri, 5 Oct 2012 22:24:45 +0200 Subject: [PATCH] cowsay error fixed --- cowsay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cowsay.py b/cowsay.py index 3d83fe0..593cd8b 100644 --- a/cowsay.py +++ b/cowsay.py @@ -14,7 +14,7 @@ def cowsay(msg,args): return try: - txt=subprocess.check_output(["cowsay","-f",cowfile,text]) + txt=subprocess.check_call(["cowsay","-f",cowfile,text]) for line in txt.split('\n'): #brathuhn.sendStyledMsg(brathuhn.ROOM,line,'groupchat',) brathuhn.sendMonoMsg(brathuhn.ROOM,line,'groupchat')