diff options
Diffstat (limited to 'backend/resilient')
-rw-r--r-- | backend/resilient/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/resilient/__init__.py b/backend/resilient/__init__.py index e2b40c7..e441db9 100644 --- a/backend/resilient/__init__.py +++ b/backend/resilient/__init__.py @@ -31,7 +31,7 @@ for auth_subpath, auth_subpaths, auth_subfiles in os.walk(auth_path): for auth_subfile in auth_subfiles: auth_subfile = os.path.join(auth_subpath, auth_subfile) if os.path.isfile(auth_subfile): - os.chmod(auth_subfile, 0600) + os.chmod(auth_subfile, 0o600) def url200(url): try: @@ -194,7 +194,7 @@ class ipfs: def _config(self, key): proc = subprocess.Popen(['ipfs', '-c', self.configdir, 'config', key], stdout=subprocess.PIPE) for line in proc.stdout: - return line[0:-1] + return line[0:-1] def push(self): if not ikiwiki.synced or not ipfs.found: |