From d234ee6c6cbefbd31ef763692c9f8bc39aeff832 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Andr=C3=A9e?= Date: Tue, 13 Aug 2013 01:09:52 +0200 Subject: [PATCH] fix -f, +f, -F issue MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/ponysay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ponysay.py b/src/ponysay.py index 6195afd5..6ba0fe03 100755 --- a/src/ponysay.py +++ b/src/ponysay.py @@ -826,7 +826,7 @@ class Ponysay(): for (opt, ponies, quotes) in [('-f', standard, False), ('+f', extra, False), ('-F', both, False), ('-q', standard, True)]: if args.opts[opt] is not None: for pony in args.opts[opt]: - selection.append((opt, ponies, quotes)) + selection.append((pony, ponies, quotes)) ## TODO +q -Q (pony, quote) = self.__getPony(selection, args)