Skip to content
Snippets Groups Projects
Commit e5b27694 authored by bwalkow's avatar bwalkow
Browse files

dirs_exist_ok in copy tree

parent 3621c322
Branches
Tags
1 merge request!5Metadata
Pipeline #14360 passed
......@@ -286,7 +286,7 @@ class ArchiveExtractor(nlp_ws.NLPWorker):
any2txt_subtask = nlp_ws.SubTask(dir_path, [["any2txt"]])
any2txt_subtask.run(blocking=False)
result_path = any2txt_subtask.get_output_path()
shutil.copytree(result_path, dir_path)
shutil.copytree(result_path, dir_path, dirs_exist_ok=True)
@staticmethod
def _unpack_zip(archive_path: str, unpack_to: str) -> None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment