diff --git a/downloader/downloader/main.py b/downloader/downloader/main.py index 86718e7..868a619 100644 --- a/downloader/downloader/main.py +++ b/downloader/downloader/main.py @@ -437,6 +437,7 @@ class SegmentGetter(object): dir_path = os.path.dirname(path) if os.path.exists(dir_path): return + # call recursively to check entire path exists self.ensure_directory(dir_path) try: os.mkdir(dir_path)