Fixed a dumb typo
This commit is contained in:
parent
5fd3c4ed77
commit
2b17a55968
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ def index():
|
||||||
)
|
)
|
||||||
|
|
||||||
#Show random quote on the homepage if any exist
|
#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)
|
numOfQuotes = len(quotes)
|
||||||
if len(quotes)>0:
|
if len(quotes)>0:
|
||||||
quote = random.choice(quotes)
|
quote = random.choice(quotes)
|
||||||
|
|
Loading…
Add table
Reference in a new issue