mirror of
https://github.com/erkin/ponysay.git
synced 2025-02-18 10:24:24 +01:00
Non-TV ponies fix
This commit is contained in:
parent
cbbb9be76c
commit
243612379e
1 changed files with 10 additions and 10 deletions
10
ponysay
10
ponysay
|
@ -56,24 +56,24 @@ class Ponysay():
|
|||
elif args.opts['-L'] is not None: self.linklist()
|
||||
elif args.opts['-B'] is not None: self.balloonlist()
|
||||
else:
|
||||
self.__extraponies(args)
|
||||
self.__bestpony(args)
|
||||
self.__ucsremap(args)
|
||||
self.__extraponies(args)
|
||||
if args.opts['-q'] is not None: self.quote(args)
|
||||
else: self.print_pony(args)
|
||||
|
||||
|
||||
##
|
||||
## Methods that run in the beginning of non-listing and non-help stuff
|
||||
## Methods that run before the mane methods
|
||||
##
|
||||
|
||||
'''
|
||||
Use best.pony if nothing else is set
|
||||
Use extra ponies
|
||||
'''
|
||||
def __bestpony(self, args):
|
||||
def __extraponies(self, args):
|
||||
if args.opts['-F'] is not None:
|
||||
args.opts['-f'] = args.opts['-F']
|
||||
ponydirs = extraponydirs
|
||||
ponydirs[:] = extraponydirs
|
||||
|
||||
|
||||
'''
|
||||
|
|
Loading…
Reference in a new issue