From 9b7661f2daed67386f8e75e77685d2c5b50203b9 Mon Sep 17 00:00:00 2001 From: Michito Date: Wed, 30 Oct 2024 16:42:13 +0100 Subject: [PATCH] Fix a typo in the name of the class (#496) --- newdle/core/webargs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/newdle/core/webargs.py b/newdle/core/webargs.py index 1d051d37..b0645400 100644 --- a/newdle/core/webargs.py +++ b/newdle/core/webargs.py @@ -14,14 +14,14 @@ def _strip_whitespace(value): return value -class WhitspaceStrippingFlaskParser(flaskparser.FlaskParser): +class WhitespaceStrippingFlaskParser(flaskparser.FlaskParser): def pre_load(self, location_data, *, schema, req, location): if location in ('query', 'form', 'json'): return _strip_whitespace(location_data) return location_data -parser = WhitspaceStrippingFlaskParser(unknown=EXCLUDE) +parser = WhitespaceStrippingFlaskParser(unknown=EXCLUDE) @parser.error_handler