cowsay error fixed

master
Stefan Krulj 14 years ago
parent 6db84be54f
commit 10e23f68a2
  1. 2
      cowsay.py

@ -14,7 +14,7 @@ def cowsay(msg,args):
return return
try: try:
txt=subprocess.check_output(["cowsay","-f",cowfile,text]) txt=subprocess.check_call(["cowsay","-f",cowfile,text])
for line in txt.split('\n'): for line in txt.split('\n'):
#brathuhn.sendStyledMsg(brathuhn.ROOM,line,'groupchat',) #brathuhn.sendStyledMsg(brathuhn.ROOM,line,'groupchat',)
brathuhn.sendMonoMsg(brathuhn.ROOM,line,'groupchat') brathuhn.sendMonoMsg(brathuhn.ROOM,line,'groupchat')

Loading…
Cancel
Save