mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-25 13:57:59 +01:00
m fix
Signed-off-by: Mattias Andrée <maandree@operamail.com>
This commit is contained in:
parent
91e62b4a60
commit
5317fcddac
1 changed files with 2 additions and 2 deletions
|
@ -458,7 +458,7 @@ class Ponysay():
|
|||
'''
|
||||
## If there is no selected ponies, choose all of them
|
||||
if (selection is None) or (len(selection) == 0):
|
||||
selection = [self.___selectAnypony(args)]
|
||||
selection = [self.__selectAnypony(args)]
|
||||
|
||||
## Select a random pony of the choosen ones
|
||||
pony = selection[random.randrange(0, len(selection))]
|
||||
|
@ -509,7 +509,7 @@ class Ponysay():
|
|||
|
||||
## Get all ponies, with quotes
|
||||
oldponies = {}
|
||||
self.__getAllPonies(standard, extra, oldponies, quoters):
|
||||
self.__getAllPonies(standard, extra, oldponies, quoters)
|
||||
|
||||
## Apply restriction
|
||||
ponies = self.__applyRestriction(oldponies, ponydirs)
|
||||
|
|
Loading…
Reference in a new issue