mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-06-20 01:27:44 +02:00
Remove 'f-string', no place holders present
This commit is contained in:
parent
8d658b4c08
commit
280462c2fe
@ -60,7 +60,7 @@ def get_markdown(text):
|
|||||||
if not text:
|
if not text:
|
||||||
return ""
|
return ""
|
||||||
|
|
||||||
pattern = fr'([\[\s\S\]]*?)\(([\s\S]*?):([\s\S]*?)\)'
|
pattern = r'([\[\s\S\]]*?)\(([\s\S]*?):([\s\S]*?)\)'
|
||||||
# Regex check
|
# Regex check
|
||||||
if re.match(pattern, text):
|
if re.match(pattern, text):
|
||||||
# get get value of group regex
|
# get get value of group regex
|
||||||
|
Loading…
x
Reference in New Issue
Block a user