2
0
Fork 0

Reformat code with black

This commit is contained in:
Luca 2023-05-08 21:08:16 +02:00
parent 639524b9a4
commit 012cc6be1b
1 changed files with 3 additions and 1 deletions

View File

@ -6,4 +6,6 @@ register = template.Library()
@register.filter(name="striplogintoken") @register.filter(name="striplogintoken")
def strip_login_token(value): def strip_login_token(value):
return sub(r'https://helfen\.kntkt\.de/l/[-\w]+', '(zurückbehalten)', value, flags=ASCII) return sub(
r"https://helfen\.kntkt\.de/l/[-\w]+", "(zurückbehalten)", value, flags=ASCII
)