aboutsummaryrefslogtreecommitdiff
path: root/ponysay.py
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2012-08-18 17:39:29 +0200
committerMattias Andrée <maandree@operamail.com>2012-08-18 17:39:29 +0200
commit2ff4e42e199a1d3c42fd8dd44b131d63a58a7c13 (patch)
tree744dc9b576ac8d8db8f56cbbf51427ac3924937e /ponysay.py
parente598badd9b4bfdb77510f00102487da310f7f385 (diff)
downloadponysay-2ff4e42e199a1d3c42fd8dd44b131d63a58a7c13.tar.gz
ponysay-2ff4e42e199a1d3c42fd8dd44b131d63a58a7c13.tar.bz2
ponysay-2ff4e42e199a1d3c42fd8dd44b131d63a58a7c13.zip
m
Diffstat (limited to 'ponysay.py')
-rwxr-xr-xponysay.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/ponysay.py b/ponysay.py
index 9e159b8..92f1fac 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 + '\'')