]> git.cworth.org Git - turbot-web/commit
Write all files to temporary files, renaming afterwards
authorCarl Worth <cworth@cworth.org>
Wed, 12 Jan 2022 09:43:19 +0000 (01:43 -0800)
committerCarl Worth <cworth@cworth.org>
Wed, 12 Jan 2022 09:43:19 +0000 (01:43 -0800)
commit976a9bcf02620a4b1aec2a180efbc0d741a212ce
tree1a2b6d0237652c839d8a0ead15efbf14a272df62
parent7d560553537d040a217e5467008bee5afd9f6aa9
Write all files to temporary files, renaming afterwards

This ensures that the webserver will only ever serve a complete file,
and never one that the generator is in the process of creating.
html_generator.py