Non-TV ponies fix

This commit is contained in:
Mattias Andrée 2012-08-22 15:56:48 +02:00
parent cbbb9be76c
commit 243612379e

10
ponysay
View file

@ -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
'''