Fix issue with documentclass.compile unwanted recompiling.
This commit is contained in:
		| @@ -144,9 +144,9 @@ class documentclass(element): | ||||
|  | ||||
|             # Content has not changed | ||||
|             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) <= \ | ||||
|                     os.path.getctime('{}.pdf'.format(outfile)): | ||||
|                     os.path.getctime(os.path.join(outdir, outfile) + '.pdf'): | ||||
|                 to_create = False | ||||
|  | ||||
|         if to_create: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user