Skip to content

Commit 5604790

Browse files
committed
added get history in app
1 parent df372fa commit 5604790

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/views.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
def welcome():
1212
return render_template("welcome.html")
1313

14-
@views.route("/run-script", methods=["POST"])
14+
@views_bp.route("/run-script", methods=["POST"])
1515
def run_script():
1616
try:
1717
start_date = request.form.get("start_date")
@@ -38,7 +38,7 @@ def run_script():
3838
flash(f"Errore durante l'esecuzione: {e}", "danger")
3939

4040
return redirect(url_for("views.welcome"))
41-
41+
4242
@views_bp.route("/analytics")
4343
@login_required
4444
def analytics():

0 commit comments

Comments
 (0)