about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/core/loader.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ranger/core/loader.py b/ranger/core/loader.py
index 17d6bf09..3ba5b128 100644
--- a/ranger/core/loader.py
+++ b/ranger/core/loader.py
@@ -59,6 +59,8 @@ class CopyLoader(Loadable, FileManagerAware):
         stack = [f.path for f in self.copy_buffer]
         while stack:
             fname = stack.pop()
+            if os.path.islink(fname):
+                continue
             if os.path.isdir(fname):
                 stack.extend([join(fname, item) for item in os.listdir(fname)])
             else: