diff --git a/ponysay.py b/ponysay.py index 07286660..c6c83f8e 100755 --- a/ponysay.py +++ b/ponysay.py @@ -119,7 +119,7 @@ class ponysay(): if names == None: names = list(ponies.keys()) - return ponies[names[random.randrange(0, len(names) - 1)]] + return ponies[names[random.randrange(0, len(names))]] ''' Returns a list with all (pony, quote file) pairs