diff --git a/templates/main.py b/templates/main.py index c54a34c..ee6a388 100644 --- a/templates/main.py +++ b/templates/main.py @@ -47,7 +47,7 @@ quotes: a list of comma separated values representing quotes max_attempts: the number of times a random quote should be selected if the previously selectd quote is formatted incorrectly return: the selected quote, or an empty list (if max_attempts was exceeded) """ -def get_random_quote (quotes, max_attempts = 5): +def get_random_quote (quotes, max_attempts): success = False attempts = 0 quote = []