Fix a bug when --dict-file has no folder name.
@@ -124,6 +124,8 @@ def download(url, path, fname, redownload=False):
def make_dir(path):
"""Makes the directory and any nonexistent parent directories."""
+ # the current working directory is a fine path
+ if path != '':
os.makedirs(path, exist_ok=True)
