commit 9e3fb71a4589341caea3393db4d5e5b34179daa3 Author: Tom Ritter tom@ritter.vg Date: Sun Mar 8 13:47:26 2015 -0500
Create symlink for .html file, necessary for serving gzips --- write_website.py | 1 + 1 file changed, 1 insertion(+)
diff --git a/write_website.py b/write_website.py index 9c5463e..06fe35f 100755 --- a/write_website.py +++ b/write_website.py @@ -75,6 +75,7 @@ def main(): 'consensus-health-' + w.get_consensus_time().strftime("%Y-%m-%d-%H-%M") + '.html') subprocess.call(["cp", os.path.join(os.path.dirname(__file__), 'out', 'consensus-health.html'), archived]) subprocess.call(["gzip", "-9", archived]) + subprocess.call(["ln", "-s", archived + ".gz", archived])
def get_consensuses():