summaryrefslogtreecommitdiff
path: root/directory.py
diff options
context:
space:
mode:
Diffstat (limited to 'directory.py')
-rw-r--r--directory.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/directory.py b/directory.py
index 6b8eaaf..5a0c318 100644
--- a/directory.py
+++ b/directory.py
@@ -101,7 +101,7 @@ class File(DirectoryEntry):
cache_path_dir = os.path.dirname(cache_path)
# check and create cache directory
if not os.path.exists(cache_path_dir):
- os.mkdir(cache_path_dir)
+ os.makedirs(cache_path_dir)
# check if file is cached
if not os.path.exists(cache_path):
events.event_pub.recoding(self.path)