flaskfilemanager
flaskfilemanager copied to clipboard
error in download function
when trying to download a file the following error comes up...
Exception caught: 'Request' object has no attribute 'is_xhr'
Traceback (most recent call last):
File "/opt/freeware/lib/python3.7/site-packages/flask/app.py", line 1823, in full_dispatch_request
rv = self.dispatch_request()
File "/opt/freeware/lib/python3.7/site-packages/flask/app.py", line 1799, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "/opt/freeware/lib/python3.7/site-packages/flaskfilemanager/filemanager.py", line 201, in connector
if request.is_xhr:
AttributeError: 'Request' object has no attribute 'is_xhr'
seems the request.is_xhr method has been deprecated & removed from werkzeug...