mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-29 23:48:00 +01:00
Support for ponythink
This commit is contained in:
parent
97329adb57
commit
d870bf7a65
1 changed files with 4 additions and 1 deletions
|
@ -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 + '\'')
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue