From d60c1b051ad22e53c928722ea8a7d1365ba087d3 Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 17 Aug 2023 03:07:29 +0300 Subject: [PATCH] remove annoying ! --- files/routes/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/admin.py b/files/routes/admin.py index ffbec5c0b..9c35d0006 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -1893,7 +1893,7 @@ def delete_media_post(v): abort(400, "No url provided!") if not image_link_regex.fullmatch(url) and not video_link_regex.fullmatch(url) and not asset_image_link_regex.fullmatch(url): - abort(400, "Invalid url!") + abort(400, "Invalid url") path = url.split(SITE)[1]