From 8cbc01429fee24b49c33773038f8ac9fd71fca1b Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 18 Oct 2021 21:43:56 +0200 Subject: [PATCH] fdfd --- files/routes/posts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/posts.py b/files/routes/posts.py index 41eacbf3ee..4cd72bb2d3 100755 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -523,7 +523,7 @@ def submit_post(v): # url = urlunparse(new_url) repost = g.db.query(Submission).options(lazyload('*')).filter( - Submission.url.ilike(f'{url}%'), + Submission.url.ilike(url), Submission.deleted_utc == 0, Submission.is_banned == False ).first()