Fixed a dumb typo

This commit is contained in:
SecretlyTaco 2017-04-20 11:05:13 +01:00
parent 5fd3c4ed77
commit 2b17a55968

View file

@ -39,7 +39,7 @@ def index():
)
#Show random quote on the homepage if any exist
quotes = Quote.query.filter_by(approved=True).order_by(Quote.id.desc())all()
quotes = Quote.query.filter_by(approved=True).order_by(Quote.id.desc()).all()
numOfQuotes = len(quotes)
if len(quotes)>0:
quote = random.choice(quotes)