Skip to content

Commit

Permalink
Fix linting.
Browse files Browse the repository at this point in the history
  • Loading branch information
robgietema committed Nov 5, 2024
1 parent 48b841d commit 808899f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/src/collective/volto/formsupport/captcha/honeypot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 808899f

Please sign in to comment.