From 808899f77adec47a0532f3052085b6776790d0fb Mon Sep 17 00:00:00 2001 From: Rob Gietema Date: Tue, 5 Nov 2024 14:23:56 +0100 Subject: [PATCH] Fix linting. --- backend/src/collective/volto/formsupport/captcha/honeypot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/collective/volto/formsupport/captcha/honeypot.py b/backend/src/collective/volto/formsupport/captcha/honeypot.py index 34327c5..c4e5fbd 100644 --- a/backend/src/collective/volto/formsupport/captcha/honeypot.py +++ b/backend/src/collective/volto/formsupport/captcha/honeypot.py @@ -36,8 +36,8 @@ def verify(self, data): if isinstance(data, str): data = json.loads(data) if not data: - # @schemaform-data has been called not from volto-form-block so do the standard - # validation. + # @schemaform-data has been called not from volto-form-block so do the + # standard validation. form_data = json_body(self.request).get("data", []) form = {x["label"]: x["value"] for x in form_data} if found_honeypot(form, required=True):