We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b26097e commit ac98a95Copy full SHA for ac98a95
hooks/post_gen_project.py
@@ -16,7 +16,7 @@ def copy_choosen_template_to_main_dir(used_template: str):
16
if used_template not in TEMPLATES:
17
raise ValueError(f"{used_template} not in {TEMPLATES}")
18
19
- copytree(used_template, "./")
+ copytree(used_template, "./", dirs_exist_ok=True)
20
21
for template in TEMPLATES:
22
rmtree(Path(template))
0 commit comments