From ff8bf992a9048e55b58ece46cf25cc3a43edcef7 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Sun, 13 May 2018 23:31:42 +0100 Subject: Add user account claiming --- app/views/tasks.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'app/views/tasks.py') diff --git a/app/views/tasks.py b/app/views/tasks.py index 9b27f61..e6a5dc4 100644 --- a/app/views/tasks.py +++ b/app/views/tasks.py @@ -22,7 +22,6 @@ def new_getmeta_page(): }) @app.route("/tasks//") -@login_required def check_task(id): result = celery.AsyncResult(id) status = result.status @@ -51,7 +50,6 @@ def check_task(id): abort(422) if status == "SUCCESS": - flash("Task complete!", "success") return redirect(r) else: return render_template("tasks/view.html", info=info) -- cgit v1.2.3