Commit bc88a85a by btimby

Fixed handling of encoding in FTPFSFactory.

parent 45fc29be
...@@ -196,7 +196,7 @@ class FTPFSFactory(object): ...@@ -196,7 +196,7 @@ class FTPFSFactory(object):
This is the entry point of pyftpdlib. We will pass along the two parameters This is the entry point of pyftpdlib. We will pass along the two parameters
as well as the previously provided fs instance and encoding. as well as the previously provided fs instance and encoding.
""" """
return FTPFS(self.fs, root, cmd_channel, encoding=encoding) return FTPFS(self.fs, root, cmd_channel, encoding=self.encoding)
class HomeFTPFS(FTPFS): class HomeFTPFS(FTPFS):
......
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