about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/core/main.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/ranger/core/main.py b/ranger/core/main.py
index 598ce243..17b546c0 100644
--- a/ranger/core/main.py
+++ b/ranger/core/main.py
@@ -145,11 +145,6 @@ def main(
             from ranger.ext import curses_interrupt_handler
             curses_interrupt_handler.install_interrupt_handler()
 
-        # Create cache directory
-        if fm.settings.preview_images and fm.settings.use_preview_script:
-            if not os.path.exists(args.cachedir):
-                os.makedirs(args.cachedir)
-
         if not args.clean:
             # Create data directory
             if not os.path.exists(args.datadir):