Merge branch 'python' of github.com:erkin/ponysay into python

This commit is contained in:
Mattias Andrée 2012-08-18 17:34:23 +02:00
commit 4bcf9d72ac

View file

@ -304,7 +304,10 @@ class ponysay():
pony = self.__getponypath(args.pony)
os.system('cowsay -f ' + pony + ' \'' + msg + '\'')
if "think" in __file__: cmd = 'cowthink'
else: cmd = 'cowsay'
os.system(cmd + ' -f ' + pony + ' \'' + msg + '\'')