summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lepus.uberspace.de>2015-03-18 21:43:20 +0100
committerhut <hut@lepus.uberspace.de>2015-03-18 21:43:20 +0100
commit9a879332d96e36fc348053cc0d23f03de73a2ed2 (patch)
tree55528005b5aa9f167dfeaea997c538612cec5fc1
parent73d4366e83b00b2840ed03ce8a7cd4f65880a603 (diff)
parent6ad7f8b8ac3997c1ddb7e9f4fcc401875c4f78de (diff)
downloadranger-9a879332d96e36fc348053cc0d23f03de73a2ed2.tar.gz
Merge pull request #274 from anekos/fix/os-does-not-have-mkdirs
os module does not have "mkdirs" function 
-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 9c620f20..d1e383ba 100644
--- a/ranger/core/actions.py
+++ b/ranger/core/actions.py
@@ -1244,7 +1244,7 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware):
 
     def mkdir(self, name):
         try:
-            os.mkdirs(os.path.join(self.thisdir.path, name))
+            os.makedirs(os.path.join(self.thisdir.path, name))
         except OSError as err:
             self.notify(err)