Support for ponythink

This commit is contained in:
Elis Axelsson 2012-08-18 17:22:22 +02:00
parent 97329adb57
commit d870bf7a65

View file

@ -297,7 +297,10 @@ class ponysay():
pony = self.__getponypath(args.pony) 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 + '\'')