diff --git a/api/funkwhale_api/federation/signing.py b/api/funkwhale_api/federation/signing.py index efda81f2b..8552a5d70 100644 --- a/api/funkwhale_api/federation/signing.py +++ b/api/funkwhale_api/federation/signing.py @@ -31,7 +31,9 @@ def verify_date(raw_date): delta = datetime.timedelta(seconds=DATE_HEADER_VALID_FOR) now = timezone.now() if dt < now - delta or dt > now + delta: - logger.error(f"Request Date {raw_date} is too too far in the future or in the past") + logger.error( + f"Request Date {raw_date} is too too far in the future or in the past" + ) raise forms.ValidationError( "Request Date is too far in the future or in the past" )