Fix issue with documentclass.compile unwanted recompiling.
This commit is contained in:
parent
47944b3dd2
commit
1d180cdf88
@ -144,9 +144,9 @@ class documentclass(element):
|
|||||||
|
|
||||||
# Content has not changed
|
# Content has not changed
|
||||||
if old_content == new_content \
|
if old_content == new_content \
|
||||||
and os.path.exists('{}.pdf'.format(outfile)) \
|
and os.path.exists(os.path.join(outdir, outfile) + '.pdf') \
|
||||||
and os.path.getctime(infile) <= \
|
and os.path.getctime(infile) <= \
|
||||||
os.path.getctime('{}.pdf'.format(outfile)):
|
os.path.getctime(os.path.join(outdir, outfile) + '.pdf'):
|
||||||
to_create = False
|
to_create = False
|
||||||
|
|
||||||
if to_create:
|
if to_create:
|
||||||
|
Loading…
Reference in New Issue
Block a user