better replacement of original form KeyError

This commit is contained in:
David Lord 2022-03-23 08:25:58 -07:00
parent c9a1f7ad65
commit 0a300d007d
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
2 changed files with 10 additions and 6 deletions

View file

@ -110,7 +110,7 @@ class Request(RequestBase):
return _split_blueprint_path(name)
def _load_form_data(self) -> None:
RequestBase._load_form_data(self)
super()._load_form_data()
# In debug mode we're replacing the files multidict with an ad-hoc
# subclass that raises a different error for key errors.