diff options
author | Mattias Andrée <maandree@operamail.com> | 2012-08-20 13:27:41 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2012-08-20 13:27:41 +0200 |
commit | a0d64e1a45508f6dca01d72b337138eb6e3cc695 (patch) | |
tree | c605082d3ef0ff3bb3032f2e5efffb8d33168293 | |
parent | 6dc8d1d8a28e368b0a289a3d3de1765466def37d (diff) | |
download | ponysay-a0d64e1a45508f6dca01d72b337138eb6e3cc695.tar.gz ponysay-a0d64e1a45508f6dca01d72b337138eb6e3cc695.tar.bz2 ponysay-a0d64e1a45508f6dca01d72b337138eb6e3cc695.zip |
derp, new kms works
-rwxr-xr-x | ponysay | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |