aboutsummaryrefslogtreecommitdiff
path: root/app/views/tasks.py
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-05-13 23:31:42 +0100
committerrubenwardy <rw@rubenwardy.com>2018-05-13 23:33:05 +0100
commitff8bf992a9048e55b58ece46cf25cc3a43edcef7 (patch)
tree02a1a7198a9fd20539465a0ccd378f0dd02f8913 /app/views/tasks.py
parent31615da169766087a35c104d6aa8797a6eaa7594 (diff)
downloadcheatdb-ff8bf992a9048e55b58ece46cf25cc3a43edcef7.tar.xz
Add user account claiming
Diffstat (limited to 'app/views/tasks.py')
-rw-r--r--app/views/tasks.py2
1 files changed, 0 insertions, 2 deletions
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/<id>/")
-@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)