Reformat code with black
This commit is contained in:
parent
639524b9a4
commit
012cc6be1b
|
@ -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
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in New Issue