From acebf8610cffdb30f6a3f858462bdf5af838f5d0 Mon Sep 17 00:00:00 2001 From: Christopher Broderick Date: Fri, 16 May 2025 23:10:18 +0100 Subject: [PATCH] formatting --- helpdesk/models.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/helpdesk/models.py b/helpdesk/models.py index 36a95582..8a54b242 100644 --- a/helpdesk/models.py +++ b/helpdesk/models.py @@ -49,7 +49,9 @@ def get_markdown(text): # Search for markdown that creates a clickable link and remove the undesirable ones pattern = re.compile(r"(\[[\s\S]*?\])\(([\w]*?):([\s\S]*?)\)", flags=re.MULTILINE) - rerun_scheme_check = True # Used to decide if a re-check should be done after last pass + rerun_scheme_check = ( + True # Used to decide if a re-check should be done after last pass + ) while rerun_scheme_check: has_illegal_scheme = False for m in re.finditer(pattern, text):