tested with python3.4.9

This commit is contained in:
Julian Daube 2020-04-16 13:34:14 +02:00
parent d2d8f520ad
commit 4e03273544

View File

@ -73,12 +73,12 @@ def main():
dst = Path(files[file]) dst = Path(files[file])
if not src.exists(): if not src.exists():
print("src does not exist: {}".format(str(src))) print("src does not exist: {}".format(str(src)))
continue continue
# create directory # create directory
dst.parent.mkdir(parents=True, exist_ok=True) dst.parent.mkdir(parents=True)
shutil.copyfile(src, dst) shutil.copyfile(str(src), str(dst))
if __name__ == "__main__": if __name__ == "__main__":