From 27f97e6e5f1138210ee6eb3dccbb763d5ccd13e2 Mon Sep 17 00:00:00 2001 From: Tim Jentzsch Date: Fri, 6 May 2022 00:04:31 +0200 Subject: [PATCH] Show transcription URL in checks even if it is marked as removed --- api/slack/transcription_check/blocks.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/api/slack/transcription_check/blocks.py b/api/slack/transcription_check/blocks.py index da25a8fe..eb9befcb 100644 --- a/api/slack/transcription_check/blocks.py +++ b/api/slack/transcription_check/blocks.py @@ -25,9 +25,12 @@ def _get_check_base_text(check: TranscriptionCheck) -> str: post_url = "<{}|Partner Post>".format(submission.url) if submission.url else "[N/A]" transcription_url = ( "<{}|Transcription>".format(transcription.url) - if transcription.url and not transcription.removed_from_reddit + if transcription.url else "[Removed]" ) + if transcription.removed_from_reddit and transcription_url: + transcription_url += " [Removed]" + source = get_source(submission) details = [tor_url, post_url, transcription_url, source] # Indicate if the post is NSFW