about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorWojciech Siewierski <wojciech.siewierski@onet.pl>2019-05-27 17:07:13 +0200
committerWojciech Siewierski <wojciech.siewierski@onet.pl>2019-05-27 17:09:24 +0200
commit3f37523ade476ce73160feb79d6002734cf304d8 (patch)
tree4f514b24e433e6a5093fe54b11282e95ebb8192c
parent6315c2f9f4f9f23770d7f1cd2d8d02cacb2a2729 (diff)
downloadranger-3f37523ade476ce73160feb79d6002734cf304d8.tar.gz
Replace the accidental str.join (as path.join) with os.path.join
-rw-r--r--ranger/core/loader.py2
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