diff options
author | Wojciech Siewierski <wojciech.siewierski@onet.pl> | 2019-05-27 17:07:13 +0200 |
---|---|---|
committer | Wojciech Siewierski <wojciech.siewierski@onet.pl> | 2019-05-27 17:09:24 +0200 |
commit | 3f37523ade476ce73160feb79d6002734cf304d8 (patch) | |
tree | 4f514b24e433e6a5093fe54b11282e95ebb8192c | |
parent | 6315c2f9f4f9f23770d7f1cd2d8d02cacb2a2729 (diff) | |
download | ranger-3f37523ade476ce73160feb79d6002734cf304d8.tar.gz |
Replace the accidental str.join (as path.join) with os.path.join
-rw-r--r-- | ranger/core/loader.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/core/loader.py b/ranger/core/loader.py index 96d000ac..ac31abeb 100644 --- a/ranger/core/loader.py +++ b/ranger/core/loader.py @@ -102,7 +102,7 @@ class CopyLoader(Loadable, FileManagerAware): # pylint: disable=too-many-instan tag = self.fm.tags.tags[path] self.fm.tags.remove(path) self.fm.tags.tags[ - path.replace(fobj.path, path.join(self.original_path, fobj.basename)) + path.replace(fobj.path, os.path.join(self.original_path, fobj.basename)) ] = tag self.fm.tags.dump() n = 0 |