Skip to content

Commit 646a2bb

Browse files
committed
Merge branch 'dev' into main
2 parents 45c7385 + c9d4f4f commit 646a2bb

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

main.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ def process_one_file(file_name) -> None:
8282
if os.path.exists(quality_report_file):
8383
log.info(f"[VRDU] file: {file_name}, paper has been processed")
8484
return
85+
else:
86+
output_directory = os.path.join(main_directory, "output")
87+
if os.path.exists(output_directory):
88+
shutil.rmtree(output_directory)
8589

8690
# make a copy of the original tex file
8791
original_tex = os.path.join(main_directory, "paper_original.tex")

0 commit comments

Comments
 (0)