From cbdf3f0a188310b54adfd7a38c63fc92a7745cd2 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 24 Jun 2022 22:52:38 +0200 Subject: [PATCH] fix snappy --- files/routes/posts.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/files/routes/posts.py b/files/routes/posts.py index 8d2c5418d..b0ddd1e96 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -1144,8 +1144,6 @@ def submit_post(v, sub=None): body += f"Snapshots:\n\n{rev}* [archive.org](https://web.archive.org/{newposturl})\n* [archive.ph](https://archive.ph/?url={quote(newposturl)}&run=1) (click to archive)\n* [ghostarchive.org](https://ghostarchive.org/search?term={quote(newposturl)}) (click to archive)\n\n" gevent.spawn(archiveorg, newposturl) - body = body.strip() - captured = [] for i in list(snappy_url_regex.finditer(post.body_html)): if i.group(0) in captured: continue