diff options
-rwxr-xr-x | ponysay.py | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -5,12 +5,12 @@ ponysay.py - POC of ponysay in python Copyright (C) 2012 Erkin Batu Altunbaş -Authors: Erkin Batu Altunbaş: Project leader, helped write the first implementation - Mattias "maandree" Andrée: Major contributor of both implementions - Elis "etu" Axelsson Major contributor of current implemention and patcher of first implementation - Sven-Hendrik "svenstaro" Haase: Major contributor first implementation - Kyah "L-four" Rindlisbacher: Patched the first implementation - Jan Alexander "heftig" Steffens: Major contributor first implementation +Authors: Erkin Batu Altunbaş: Project leader, helped write the first implementation + Mattias "maandree" Andrée: Major contributor of both implementions + Elis "etu" Axelsson: Major contributor of current implemention and patcher of first implementation + Sven-Hendrik "svenstaro" Haase: Major contributor first implementation + Kyah "L-four" Rindlisbacher: Patched the first implementation + Jan Alexander "heftig" Steffens: Major contributor first implementation License: WTFPL ''' @@ -304,8 +304,8 @@ class ponysay(): pony = self.__getponypath(args.pony) - if "think" in __file__: cmd = 'cowthink' - else: cmd = 'cowsay' + if "think.py" in __file__: cmd = 'cowthink' + else: cmd = 'cowsay' os.system(cmd + ' -f ' + pony + ' \'' + msg + '\'') |