add ensure dir

This commit is contained in:
Wolf Vollprecht 2019-03-11 20:52:03 +01:00
parent 2589052338
commit 9b7be4a47a
1 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,8 @@ def ensure_dir(file_path):
if not os.path.exists(directory):
os.makedirs(directory)
ensure_dir("./__cache__/")
def download(args):
channel, url, idx = args
print("Checking: ", args)