Commit 23533bc7 authored by ibuler's avatar ibuler

[Bugfix] 修改删除的问题

parent 4755ab3e
......@@ -111,7 +111,9 @@ class ElFinderConnector:
func()
except Exception as e:
self.response['error'] = '%s' % e
logger.error("Error occur ------------------------------")
logger.exception(e)
logger.error("Error end ------------------------------")
def get_request_data(self):
data_source = {}
......
......@@ -415,6 +415,9 @@ class InternalSFTPClient(SFTPServer):
attr = super().lstat.__wrapped__(self, path)
return attr
def rmdir(self, path):
return super().rmdir.__wrapped__(self, path)
def get_channel(self):
return FakeChannel.new()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment