From 2b17a55968025a4d7ed78558dba40cf6188b6566 Mon Sep 17 00:00:00 2001 From: SecretlyTaco Date: Thu, 20 Apr 2017 11:05:13 +0100 Subject: [PATCH] Fixed a dumb typo --- smash/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smash/views.py b/smash/views.py index b73790a..7254bad 100644 --- a/smash/views.py +++ b/smash/views.py @@ -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)