diff options
author | hut <hut@lepus.uberspace.de> | 2015-03-18 21:43:20 +0100 |
---|---|---|
committer | hut <hut@lepus.uberspace.de> | 2015-03-18 21:43:20 +0100 |
commit | 9a879332d96e36fc348053cc0d23f03de73a2ed2 (patch) | |
tree | 55528005b5aa9f167dfeaea997c538612cec5fc1 /ranger | |
parent | 73d4366e83b00b2840ed03ce8a7cd4f65880a603 (diff) | |
parent | 6ad7f8b8ac3997c1ddb7e9f4fcc401875c4f78de (diff) | |
download | ranger-9a879332d96e36fc348053cc0d23f03de73a2ed2.tar.gz |
Merge pull request #274 from anekos/fix/os-does-not-have-mkdirs
os module does not have "mkdirs" function
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/core/actions.py | 2 |
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) |