Fix: remove shutil
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Bertrand Benjamin 2020-08-20 15:38:54 +02:00
parent 03024beac3
commit 6cb316ff01

View File

@ -1,14 +1,12 @@
from pathlib import Path
import os
import shutil
SNIPPETS_DIR = "./snippets"
OUTPUT = "./output"
if __name__ == "__main__":
output = Path(OUTPUT)
shutil.rmtree(output)
output.mkdir()
output.mkdir(exist_ok=True)
snippets_dir = Path(SNIPPETS_DIR)
for snippet in snippets_dir.rglob("tpl_*.tex"):
print(snippet)