mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-25 05:47:59 +01:00
fix -f, +f, -F issue
Signed-off-by: Mattias Andrée <maandree@operamail.com>
This commit is contained in:
parent
0d880ead2a
commit
d234ee6c6c
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue