diff options
author | Emilio Pozuelo Monfort <pochu@debian.org> | 2020-07-16 14:16:51 +0200 |
---|---|---|
committer | Emilio Pozuelo Monfort <pochu@debian.org> | 2020-07-29 10:20:41 +0200 |
commit | 9a15667d4054ccfbe2e1f37c5f1f56d29eafcba9 (patch) | |
tree | 9c183e229c77bb800dd785ff2156ef64cc37313f /lib | |
parent | 83f4314d0695663da351ec278ec96de43c977430 (diff) |
web_support.py: fix octal numbers under py3
Diffstat (limited to 'lib')
-rw-r--r-- | lib/python/web_support.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/web_support.py b/lib/python/web_support.py index 37d36d037b..52fbe0068c 100644 --- a/lib/python/web_support.py +++ b/lib/python/web_support.py @@ -67,7 +67,7 @@ class Service: gid = os.stat(self.socket_name).st_gid grpent = grp.getgrgid(gid) if grpent[0] == 'www-data': - os.chmod(self.socket_name, 0660) + os.chmod(self.socket_name, 0o660) def log(self, msg, *args): sys.stderr.write((msg % args) + "\n") |