diff --git a/ponysay.py b/ponysay.py index 93cee897..a0326d7b 100755 --- a/ponysay.py +++ b/ponysay.py @@ -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 + '\'')