summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbtimby <btimby@67cdc799-7952-0410-af00-57a81ceafa0f>2012-04-20 20:13:25 +0000
committerbtimby <btimby@67cdc799-7952-0410-af00-57a81ceafa0f>2012-04-20 20:13:25 +0000
commitd25809eea4aec310f4efeea1e85a3ce13e031969 (patch)
treea53ff5eaa63e789cd9d5c2fcd10dff8e691c5ae7
parente4fda787c311b976a532982d2538c87b6a132a4c (diff)
downloadpyfilesystem-d25809eea4aec310f4efeea1e85a3ce13e031969.tar.gz
Fixed handling of encoding in FTPFSFactory.
git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@778 67cdc799-7952-0410-af00-57a81ceafa0f
-rw-r--r--fs/expose/ftp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/expose/ftp.py b/fs/expose/ftp.py
index 9b50203..12f0f7a 100644
--- a/fs/expose/ftp.py
+++ b/fs/expose/ftp.py
@@ -196,7 +196,7 @@ class FTPFSFactory(object):
This is the entry point of pyftpdlib. We will pass along the two parameters
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):