Skip to content

Commit

Permalink
Improve formatting of transcription check reminders
Browse files Browse the repository at this point in the history
  • Loading branch information
TimJentzsch committed May 18, 2022
1 parent fc8f83f commit 2812977
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bubbles/commands/periodic/transcription_check_ping.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,15 +272,15 @@ def _get_check_reminder(aggregate: List) -> str:
# Add unclaimed checks
unclaimed = mod_aggregate["unclaimed"]
if len(unclaimed) > 0:
reminder += "- *[UNCLAIMED]*: "
reminder += "- [UNCLAIMED]: "
fragments = [_get_check_fragment(check) for check in unclaimed]
reminder += ",".join(fragments) + "\n"
reminder += ", ".join(fragments) + "\n"

# Add claimed checks
for mod, claimed in mod_aggregate["claimed"].items():
reminder += f"- *u/{mod}*: "
reminder += f"- u/{mod}: "
fragments = [_get_check_fragment(check) for check in claimed]
reminder += ",".join(fragments) + "\n"
reminder += ", ".join(fragments) + "\n"

return reminder

Expand Down

0 comments on commit 2812977

Please sign in to comment.