diff --git a/WebHostLib/generate.py b/WebHostLib/generate.py index 6c9ec30f..c4f03b96 100644 --- a/WebHostLib/generate.py +++ b/WebHostLib/generate.py @@ -62,7 +62,7 @@ def download_patch(patch_id, room_id): @app.route("/dl_spoiler/") def download_spoiler(seed_id): - return Response(Seed.get(id=seed_id).spoiler[3:], mimetype="text/plain") + return Response(Seed.get(id=seed_id).spoiler, mimetype="text/plain") @app.route("/dl_raw_patch//") diff --git a/WebHostLib/templates/macros.html b/WebHostLib/templates/macros.html index 49bbfe9f..aaf9fa46 100644 --- a/WebHostLib/templates/macros.html +++ b/WebHostLib/templates/macros.html @@ -9,7 +9,7 @@ {% macro list_patches_room(patches, room) %} {% if patches %}