From 3ffae3f46a218e79e3adde97f67f7e55a0fbd402 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 8 Dec 2021 02:15:43 +0200 Subject: [PATCH] dfsfd --- 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 f1d431ae2e..a4dafb655e 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -1096,7 +1096,7 @@ def submit_post(v): if "Snapshots:\n\n" not in body: body += "Snapshots:\n\n" body += f'**[{title}]({href})**:\n\n' - if href.startswith('https://old.reddit.com'): + if href.startswith('https://old.reddit.com/'): body += f'* [unddit.com](https://unddit.com/{href.replace("https://old.reddit.com/", "")})\n' body += f'* [archive.org](https://web.archive.org/{href})\n' body += f'* [archive.ph](https://archive.ph/?url={quote(href)}&run=1) (click to archive)\n\n'