remove old .pytex dir
This commit is contained in:
parent
b70abdc286
commit
8ad8366158
1 changed files with 3 additions and 0 deletions
3
main.py
3
main.py
|
@ -5,6 +5,9 @@ from PyTeX.build.build import PyTeXBuilder
|
||||||
from PyTeX.build.build.pytex_config import PyTeXConfig
|
from PyTeX.build.build.pytex_config import PyTeXConfig
|
||||||
from PyTeX.format.formatting_config import FormattingConfig
|
from PyTeX.format.formatting_config import FormattingConfig
|
||||||
|
|
||||||
|
if Path('.pytex').exists():
|
||||||
|
shutil.rmtree('.pytex')
|
||||||
|
|
||||||
|
|
||||||
def interrupt_handler(signum, frame):
|
def interrupt_handler(signum, frame):
|
||||||
if Path('.pytex').exists():
|
if Path('.pytex').exists():
|
||||||
|
|
Loading…
Reference in a new issue