fix __extraponies() this fixes options such as ++list, ++altlist, --all and --altall

Signed-off-by: Mattias Andrée <maandree@operamail.com>
This commit is contained in:
Mattias Andrée 2013-04-05 09:40:51 +02:00
parent 151d44b22d
commit e502103cac

View file

@ -332,10 +332,9 @@ class Ponysay():
Use extra ponies
'''
def __extraponies(self):
## If extraponies are used, change ponydir to extraponydir
if args is None:
self.ponydirs[:] = self.extraponydirs
self.quotedirs[:] = [] ## TODO +q
## Change ponydir to extraponydir
self.ponydirs[:] = self.extraponydirs
self.quotedirs[:] = [] ## TODO +q
'''