Fixed a dumb typo
This commit is contained in:
parent
7a02d3a7aa
commit
38a97f4bde
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue