mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-22 04:27:58 +01:00
derp, new kms works
This commit is contained in:
parent
6dc8d1d8a2
commit
a0d64e1a45
1 changed files with 2 additions and 1 deletions
3
ponysay
3
ponysay
|
@ -326,7 +326,8 @@ class Ponysay():
|
|||
Popen(pngcmd, stdout=os.fdopen(pngpipe[1], 'w'), shell=True).wait()
|
||||
pony = '/proc/' + str(os.getpid()) + '/fd/' + str(pngpipe[0])
|
||||
|
||||
cmd = [cowsay, '-f', self.__kms(pony)]
|
||||
pony = self.__kms(pony)
|
||||
cmd = [cowsay, '-f', pony]
|
||||
if args.opts['-W'] is not None:
|
||||
cmd += ['-W', args.opts['-W'][0]]
|
||||
cmd.append(msg)
|
||||
|
|
Loading…
Reference in a new issue