summaryrefslogtreecommitdiff
path: root/fs/expose
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
commitbc88a85afd1bcece53eaec6e4c17b2ea1dcf16ac (patch)
treea53ff5eaa63e789cd9d5c2fcd10dff8e691c5ae7 /fs/expose
parent45fc29beb87687285b1f4bd81c0f1bef44b1941a (diff)
downloadpyfilesystem-git-bc88a85afd1bcece53eaec6e4c17b2ea1dcf16ac.tar.gz
Fixed handling of encoding in FTPFSFactory.
Diffstat (limited to 'fs/expose')
-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):