summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'html/generate.py')
-rwxr-xr-xhtml/generate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/html/generate.py b/html/generate.py
index 3d7c458..d88e030 100755
--- a/html/generate.py
+++ b/html/generate.py
@@ -177,7 +177,7 @@ template.stream(lastUpdate=lastUpdate).dump(html_folder + "help.html")
#
with tempfile.NamedTemporaryFile(dir=os.path.dirname(cache_path), delete=False, mode='wt') as fout:
json.dump(cache_data, fout)
- os.chmod(fout.name, 644)
+ os.chmod(fout.name, 0o644)
os.replace(fout.name, cache_path)