Fixed a dumb typo

This commit is contained in:
SecretlyTaco 2017-04-20 11:05:13 +01:00 committed by socks
parent 7a02d3a7aa
commit 38a97f4bde

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)