mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-22 20:38:00 +01:00
Merge branch 'python' of github.com:erkin/ponysay into python
This commit is contained in:
commit
4bcf9d72ac
1 changed files with 4 additions and 1 deletions
|
@ -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 + '\'')
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue