[pre-commit.ci lite] apply automatic fixes
This commit is contained in:
parent
b6618c687d
commit
bd63d982ca
1 changed files with 1 additions and 1 deletions
|
|
@ -679,7 +679,7 @@ class App(Scaffold):
|
|||
def decorator(f: T_template_filter) -> T_template_filter:
|
||||
self.add_template_filter(f, name=name)
|
||||
return f
|
||||
|
||||
|
||||
if not f:
|
||||
return decorator
|
||||
return decorator(f)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue