commit 2c7e6502f87ee077188fa86b8e8f2ac9e0018169
parent c48c85b5e1e95c329bb138078aaddd396dfb8a96
Author: Solderpunk <solderpunk@sdf.org>
Date: Sat, 23 May 2020 13:24:39 +0200
Fix umask call.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/av98.py b/av98.py
@@ -220,7 +220,7 @@ class GeminiClient(cmd.Cmd):
# Set umask so that nothing we create can be read by anybody else.
# The certificate cache and TOFU database contain "browser history"
# type sensitivie information.
- os.umask(077)
+ os.umask(0o077)
# Find config directory
## Look for something pre-existing