mirror of
https://github.com/StefBuwalda/ProjectIOT.git
synced 2025-10-30 11:19:57 +00:00
No empty logs and fixes some errors
This commit is contained in:
@@ -23,8 +23,10 @@ def dashboard():
|
||||
.limit(50)
|
||||
.all()
|
||||
)
|
||||
form = npForm()
|
||||
return render_template("dashboard.html", plates=Plates, logs=logs, form=form)
|
||||
form = npForm()
|
||||
return render_template(
|
||||
"dashboard.html", plates=Plates, logs=logs, form=form
|
||||
)
|
||||
|
||||
|
||||
@dash_blueprint.route("/add", methods=["GET", "POST"])
|
||||
|
||||
Reference in New Issue
Block a user