do not what for stdin message if -o is used

This commit is contained in:
Mattias Andrée 2012-10-23 20:02:22 +02:00
parent fd2ee9fe35
commit 002f42fb0f

View file

@ -138,6 +138,7 @@ class Ponysay():
self.__ucsremap(args) self.__ucsremap(args)
if args.opts['-o'] is not None: if args.opts['-o'] is not None:
mode += '$/= $$\\= $' mode += '$/= $$\\= $'
args.message = ''
## The stuff ## The stuff
if args.opts['-q'] is not None: if args.opts['-q'] is not None: