remove annoying !

master
Aevann 2023-08-17 03:07:29 +03:00
parent 88bfaa3326
commit d60c1b051a
1 changed files with 1 additions and 1 deletions

View File

@ -1893,7 +1893,7 @@ def delete_media_post(v):
abort(400, "No url provided!") 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): 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] path = url.split(SITE)[1]