From 7524eb538241f64aade722b28e9e4856c53b054b Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 4 Nov 2021 21:00:11 +0200 Subject: [PATCH] fdsfds --- 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 9aef05615..8f12ccdb1 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -871,10 +871,10 @@ def submit_post(v): if random.random() < 0.5: body = "wow, this lawlzpost sucks!" else: body = "wow, a good lawlzpost for once!" else: body = random.choice(snappyquotes) - body += "\n\n---\n\n" else: body = "" if new_post.url: + if "rama" in request.host: body += "\n\n---\n\n" body += f"Snapshots:\n\n* [reveddit.com](https://reveddit.com/{new_post.url})\n* [archive.org](https://web.archive.org/{new_post.url})\n* [archive.ph](https://archive.ph/?url={quote(new_post.url)}&run=1) (click to archive)\n\n" gevent.spawn(archiveorg, new_post.url)