Added os import in front of makedirs

This commit is contained in:
Greg Cooke 2020-09-16 14:20:59 -04:00
parent 1b3e97c102
commit 20ad86c6ab

View File

@ -43,7 +43,7 @@ def maybe_download(archive_url, target_dir, ldc_dataset):
ldc_path = archive_url + ldc_dataset
if not os.path.exists(target_dir):
print('No path "%s" - creating ...' % target_dir)
makedirs(target_dir)
os.makedirs(target_dir)
if not os.path.exists(archive_path):
print('No archive "%s" - downloading...' % archive_path)