summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorВиталий <wentura77@gmail.com>2012-06-24 12:40:54 +0400
committerВиталий <wentura77@gmail.com>2012-06-24 12:40:54 +0400
commit6be6fe464567177d0491da7c2b07b3f9c143441d (patch)
treebe06e11bf0c0133ac52545d0ba3556f1c7b3dd9e
parent1c189bc8aa35a5ff4a8d0b626d05e8a85f81432e (diff)
downloadbottle-6be6fe464567177d0491da7c2b07b3f9c143441d.tar.gz
Update master
-rw-r--r--bottle.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bottle.py b/bottle.py
index 27cd41c..72bea26 100644
--- a/bottle.py
+++ b/bottle.py
@@ -1965,7 +1965,7 @@ class ResourceManager(object):
if path in self.path:
self.path.remove(path)
if create and not os.path.isdir(path):
- os.mkdirs(path)
+ os.mkdir(path)
if index is None:
self.path.append(path)
else: