diff options
author | Mattias Andrée <maandree@operamail.com> | 2012-08-18 17:34:23 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2012-08-18 17:34:23 +0200 |
commit | 4bcf9d72acd13a93e0e2c2b49e839f73d02943f1 (patch) | |
tree | ca36ac55fc0c6644883cb2522edc1dde2d4decc2 | |
parent | 9eee469cf62809b99efa94f4ac2ee064d0f546ba (diff) | |
parent | d870bf7a6544d6175b69585a3cae74bfc40dae04 (diff) | |
download | ponysay-4bcf9d72acd13a93e0e2c2b49e839f73d02943f1.tar.gz ponysay-4bcf9d72acd13a93e0e2c2b49e839f73d02943f1.tar.bz2 ponysay-4bcf9d72acd13a93e0e2c2b49e839f73d02943f1.zip |
Merge branch 'python' of github.com:erkin/ponysay into python
-rwxr-xr-x | ponysay.py | 5 |
1 files changed, 4 insertions, 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 + '\'') |