mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-22 20:38:00 +01:00
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:
parent
151d44b22d
commit
e502103cac
1 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
||||
'''
|
||||
|
|
Loading…
Reference in a new issue