mirror of
https://github.com/erkin/ponysay.git
synced 2025-02-18 10:24:24 +01:00
m
This commit is contained in:
parent
e598badd9b
commit
2ff4e42e19
1 changed files with 8 additions and 8 deletions
16
ponysay.py
16
ponysay.py
|
@ -5,12 +5,12 @@
|
||||||
ponysay.py - POC of ponysay in python
|
ponysay.py - POC of ponysay in python
|
||||||
Copyright (C) 2012 Erkin Batu Altunbaş
|
Copyright (C) 2012 Erkin Batu Altunbaş
|
||||||
|
|
||||||
Authors: Erkin Batu Altunbaş: Project leader, helped write the first implementation
|
Authors: Erkin Batu Altunbaş: Project leader, helped write the first implementation
|
||||||
Mattias "maandree" Andrée: Major contributor of both implementions
|
Mattias "maandree" Andrée: Major contributor of both implementions
|
||||||
Elis "etu" Axelsson Major contributor of current implemention and patcher of first implementation
|
Elis "etu" Axelsson: Major contributor of current implemention and patcher of first implementation
|
||||||
Sven-Hendrik "svenstaro" Haase: Major contributor first implementation
|
Sven-Hendrik "svenstaro" Haase: Major contributor first implementation
|
||||||
Kyah "L-four" Rindlisbacher: Patched the first implementation
|
Kyah "L-four" Rindlisbacher: Patched the first implementation
|
||||||
Jan Alexander "heftig" Steffens: Major contributor first implementation
|
Jan Alexander "heftig" Steffens: Major contributor first implementation
|
||||||
|
|
||||||
License: WTFPL
|
License: WTFPL
|
||||||
'''
|
'''
|
||||||
|
@ -304,8 +304,8 @@ class ponysay():
|
||||||
|
|
||||||
pony = self.__getponypath(args.pony)
|
pony = self.__getponypath(args.pony)
|
||||||
|
|
||||||
if "think" in __file__: cmd = 'cowthink'
|
if "think.py" in __file__: cmd = 'cowthink'
|
||||||
else: cmd = 'cowsay'
|
else: cmd = 'cowsay'
|
||||||
|
|
||||||
os.system(cmd + ' -f ' + pony + ' \'' + msg + '\'')
|
os.system(cmd + ' -f ' + pony + ' \'' + msg + '\'')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue