WebHost: give proper incompatible version error message.. in the future when this is deployed for next time.

This commit is contained in:
Fabian Dill
2022-01-18 08:23:38 +01:00
parent b82e0749b7
commit a6cca3094d
6 changed files with 22 additions and 10 deletions

View File

@@ -136,7 +136,7 @@ def view_seed(seed: UUID):
seed = Seed.get(id=seed)
if not seed:
abort(404)
return render_template("viewSeed.html", seed=seed)
return render_template("viewSeed.html", seed=seed, slot_count=count(seed.slots))
@app.route('/new_room/<suuid:seed>')