mirror of https://github.com/cowrie/cowrie.git
replacing fstat call with stat
This commit is contained in:
parent
347056a03d
commit
82a1f12937
|
@ -463,7 +463,7 @@ class KippoSFTPFile:
|
|||
self.bytes_written += len(data)
|
||||
|
||||
def getAttrs(self):
|
||||
s = self.server.fs.fstat(self.fd)
|
||||
s = self.server.fs.stat(self.filename)
|
||||
return self.server._getAttrs(s)
|
||||
|
||||
def setAttrs(self, attrs):
|
||||
|
|
Loading…
Reference in New Issue