From 9b5496b140c3b7f2e82559b93bca5dc15448a476 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 8 Dec 2022 15:55:27 +0200 Subject: [PATCH] fix updating marseys that dont follow the naming convention --- files/routes/asset_submissions.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/files/routes/asset_submissions.py b/files/routes/asset_submissions.py index fa339620c..c7fb3a96d 100644 --- a/files/routes/asset_submissions.py +++ b/files/routes/asset_submissions.py @@ -363,9 +363,6 @@ def update_marsey(v): def error(error): return render_template("update_assets.html", v=v, error=error, name=name, tags=tags, type="Marsey") - if not marsey_regex.fullmatch(name): - return error("Invalid name!") - existing = g.db.get(Marsey, name) if not existing: return error("A marsey with this name doesn't exist!")