From 5e8105fa91ddcda84665bdf97af082671e53f7c4 Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Thu, 23 Jul 2015 22:53:16 +0100 Subject: [PATCH] Remove redundant call to abspath_expanduser_unicode. Signed-off-by: Daira Hopwood --- src/allmydata/frontends/magic_folder.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/allmydata/frontends/magic_folder.py b/src/allmydata/frontends/magic_folder.py index 17c8bc96..995b652a 100644 --- a/src/allmydata/frontends/magic_folder.py +++ b/src/allmydata/frontends/magic_folder.py @@ -10,7 +10,7 @@ from twisted.application import service from allmydata.interfaces import IDirectoryNode from allmydata.util import log -from allmydata.util.fileutil import abspath_expanduser_unicode, precondition_abspath +from allmydata.util.fileutil import precondition_abspath from allmydata.util.assertutil import precondition from allmydata.util.encodingutil import listdir_unicode, to_filepath, \ unicode_from_filepath, quote_local_unicode_path, FilenameEncodingError @@ -48,7 +48,7 @@ class MagicFolder(service.MultiService): service.MultiService.__init__(self) self._stopped = False self._remote_scan_delay = 3 # XXX - self._local_dir = abspath_expanduser_unicode(local_dir) + self._local_dir = local_dir self._upload_lazy_tail = defer.succeed(None) self._upload_pending = set() self._download_scan_batch = {} -- 2.45.2