summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorChristian Zangl <laktak@cdak.net>2019-07-14 21:49:27 +0200
committerChristian Zangl <laktak@cdak.net>2019-07-14 21:49:27 +0200
commit5003eb7ef0486f6563fa7e57864d51e3aa5b28b0 (patch)
tree3e309fd4ee3e2e555e170b9ab22412133ade5b14 /ranger
parent9d817dc755285f10e556e7a100fa22f8480397ce (diff)
downloadranger-5003eb7ef0486f6563fa7e57864d51e3aa5b28b0.tar.gz
fix CopyLoader
Diffstat (limited to 'ranger')
-rw-r--r--ranger/core/loader.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ranger/core/loader.py b/ranger/core/loader.py
index bf4c780b..04ff279a 100644
--- a/ranger/core/loader.py
+++ b/ranger/core/loader.py
@@ -21,6 +21,7 @@ except ImportError:
 from ranger.core.shared import FileManagerAware
 from ranger.ext.signals import SignalDispatcher
 from ranger.ext.human_readable import human_readable
+from ranger.ext.safe_path import get_safe_path
 
 
 class Loadable(object):
@@ -51,7 +52,7 @@ class Loadable(object):
 class CopyLoader(Loadable, FileManagerAware):  # pylint: disable=too-many-instance-attributes
     progressbar_supported = True
 
-    def __init__(self, copy_buffer, do_cut=False, resolve_conflict=False, dest=None):
+    def __init__(self, copy_buffer, do_cut=False, resolve_conflict=get_safe_path, dest=None):
         self.copy_buffer = tuple(copy_buffer)
         self.do_cut = do_cut
         self.original_copy_buffer = copy_buffer