fix linter exceptions

This commit is contained in:
Robert Kaussow 2023-03-20 10:25:56 +01:00
parent c00b3e0bc3
commit 893e2cd3e2
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -45,7 +45,7 @@ def timedelta(value, dt_format=None):
if dt_format: if dt_format:
timedelta = timedelta.strftime(dt_format) timedelta = timedelta.strftime(dt_format)
return timedelta # noqa return timedelta
@env.parser_for("timedelta_validator") @env.parser_for("timedelta_validator")