Unverified Commit 1dad1749 authored by BaiJiangJie's avatar BaiJiangJie Committed by GitHub

Merge pull request #266 from jumpserver/bugfix

fix name bug
parents 91ba02ae 8553ca0e
......@@ -22,7 +22,7 @@ class SFTPVolume(BaseVolume):
super(SFTPVolume, self).__init__()
def close(self):
for _, fd in self._fd_cache.items():
for fd in self._fd_cache.values():
fd.close()
self.sftp.close()
......
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