mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Fix Remove
This commit is contained in:
parent
79501b39b8
commit
8153ca38f9
@ -1,7 +1,7 @@
|
|||||||
import os
|
import os
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from shutil import copytree
|
from shutil import copytree, rmtree
|
||||||
|
|
||||||
from jinja2 import Environment, PackageLoader, select_autoescape
|
from jinja2 import Environment, PackageLoader, select_autoescape
|
||||||
from json_schema_for_humans.schema.schema_importer import get_schemas_to_render
|
from json_schema_for_humans.schema.schema_importer import get_schemas_to_render
|
||||||
@ -72,7 +72,7 @@ print("Initializing")
|
|||||||
|
|
||||||
|
|
||||||
if os.path.exists("out"):
|
if os.path.exists("out"):
|
||||||
os.removedirs("out")
|
rmtree("out")
|
||||||
|
|
||||||
print("Copying Static")
|
print("Copying Static")
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user