diff options
-rw-r--r-- | fs/ftpfs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ftpfs.py b/fs/ftpfs.py index 4c3f8b9..8a32db5 100644 --- a/fs/ftpfs.py +++ b/fs/ftpfs.py @@ -744,7 +744,7 @@ class _FTPFile(object): self.ftp = self.ftpfs._open_ftp() self.ftp.sendcmd('TYPE I') self.ftp.sendcmd('REST %i' % (new_pos)) - self.__init__(self.ftpfs, self.ftp, _encode(self.path), self.mode) + self.__init__(self.ftpfs, self.ftp, self.path, self.mode) self.read_pos = new_pos finally: self._lock.release() |