about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/core/actions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py
index 1167dab5..63c91bcc 100644
--- a/ranger/core/actions.py
+++ b/ranger/core/actions.py
@@ -1290,7 +1290,7 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware):
 
     def mkdir(self, name):
         try:
-            os.mkdir(os.path.join(self.thisdir.path, name))
+            os.mkdirs(os.path.join(self.thisdir.path, name))
         except OSError as err:
             self.notify(err)