Skip to content

Commit

Permalink
Show transcription URL in checks even if it is marked as removed
Browse files Browse the repository at this point in the history
  • Loading branch information
TimJentzsch committed May 5, 2022
1 parent 94b7544 commit 27f97e6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion api/slack/transcription_check/blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 27f97e6

Please sign in to comment.