Some cleanups
This commit is contained in:
parent
51d7c8de7d
commit
8f1dada542
3 changed files with 3 additions and 4 deletions
|
|
@ -78,7 +78,7 @@ def attach_enctype_error_multidict(request):
|
|||
def __getitem__(self, key):
|
||||
try:
|
||||
return oldcls.__getitem__(self, key)
|
||||
except KeyError as e:
|
||||
except KeyError:
|
||||
if key not in request.form:
|
||||
raise
|
||||
raise DebugFilesKeyError(request, key)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue