From 2ff4e42e199a1d3c42fd8dd44b131d63a58a7c13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Andr=C3=A9e?= Date: Sat, 18 Aug 2012 17:39:29 +0200 Subject: [PATCH] m --- ponysay.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ponysay.py b/ponysay.py index 9e159b8c..92f1fac3 100755 --- a/ponysay.py +++ b/ponysay.py @@ -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 + '\'')