remove old .pytex dir

This commit is contained in:
Maximilian Keßler 2022-02-17 23:01:23 +01:00
parent b70abdc286
commit 8ad8366158

View file

@ -5,6 +5,9 @@ from PyTeX.build.build import PyTeXBuilder
from PyTeX.build.build.pytex_config import PyTeXConfig
from PyTeX.format.formatting_config import FormattingConfig
if Path('.pytex').exists():
shutil.rmtree('.pytex')
def interrupt_handler(signum, frame):
if Path('.pytex').exists():