Fix issue with overwriting files on Windows.
This commit is contained in:
parent
efe47274cb
commit
193763a82a
@ -161,7 +161,7 @@ class documentclass(element):
|
||||
if compile_twice:
|
||||
res = subprocess.call(call, stdout=outlog)
|
||||
if res == 0:
|
||||
os.rename(
|
||||
os.replace(
|
||||
os.path.join(
|
||||
output_aux_folder, outfile + '.pdf'),
|
||||
os.path.join(outdir, outfile + '.pdf'))
|
||||
|
Loading…
Reference in New Issue
Block a user