From 60de5aeae570a2c9e165138a3863654c289b4514 Mon Sep 17 00:00:00 2001 From: Eric Phillips Date: Sat, 16 Oct 2021 14:03:18 -0600 Subject: [PATCH] fixed typo, forgot @ --- flaskfdx/dashboard.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flaskfdx/dashboard.py b/flaskfdx/dashboard.py index 891126e..718eafd 100644 --- a/flaskfdx/dashboard.py +++ b/flaskfdx/dashboard.py @@ -10,10 +10,10 @@ from flaskfdx.db import get_db bp = Blueprint('dashboard', __name__) -bp.route('/') +@bp.route('/') def index(): db = get_db() lastseven = db.execute( - 'SELECT * FROM total WHERE datetime(date) > datetime("now", "-8 days")' + 'SELECT * FROM totals WHERE datetime(date) > datetime("now", "-8 days")' ).fetchall() return render_template('dashboard/index.html', lastseven=lastseven)