diff options
author | rubenwardy <rw@rubenwardy.com> | 2018-05-13 23:31:42 +0100 |
---|---|---|
committer | rubenwardy <rw@rubenwardy.com> | 2018-05-13 23:33:05 +0100 |
commit | ff8bf992a9048e55b58ece46cf25cc3a43edcef7 (patch) | |
tree | 02a1a7198a9fd20539465a0ccd378f0dd02f8913 /app/views/tasks.py | |
parent | 31615da169766087a35c104d6aa8797a6eaa7594 (diff) | |
download | cheatdb-ff8bf992a9048e55b58ece46cf25cc3a43edcef7.tar.xz |
Add user account claiming
Diffstat (limited to 'app/views/tasks.py')
-rw-r--r-- | app/views/tasks.py | 2 |
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) |