We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4cf4b8e commit c9d4f4fCopy full SHA for c9d4f4f
1 file changed
main.py
@@ -82,6 +82,10 @@ def process_one_file(file_name) -> None:
82
if os.path.exists(quality_report_file):
83
log.info(f"[VRDU] file: {file_name}, paper has been processed")
84
return
85
+ else:
86
+ output_directory = os.path.join(main_directory, "output")
87
+ if os.path.exists(output_directory):
88
+ shutil.rmtree(output_directory)
89
90
# make a copy of the original tex file
91
original_tex = os.path.join(main_directory, "paper_original.tex")
0 commit comments