From 4722c4cfceb2a2dbf9c1b7bcd1aa38925c6a1a60 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Sat, 13 Aug 2011 16:23:34 +0200 Subject: Add all files to queue. --- directory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'directory.py') 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) -- cgit v1.2.3