diff --git a/indexer.py b/indexer.py index df73d1f..4fb0d5c 100644 --- a/indexer.py +++ b/indexer.py @@ -124,7 +124,7 @@ def create(): message = _("Successfully created torrent {}").format(newTorrent.fileid, newTorrent.fileid[:-20]) return render_template("create.html", categories=categories.categories, messages=[message], tracker=settings["valid_tracker"]) else: - return render_template("create.html", categories=categories.categories, errors=newTorrent.errors, tracker=settings["valid_tracker"]) + return render_template("create.html", categories=categories.categories, errors=newTorrent.errors, tracker=settings["valid_tracker"]), 409 @app.route("/download/")