Commit 8553ca0e authored by Eric's avatar Eric

fix name bug

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