Update check-nextcloud

This commit is contained in:
Thorsten Spille 2022-01-30 23:37:32 +01:00 committed by GitHub
parent 0a11b3ddac
commit aaf5764f6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,7 +78,7 @@ def occ (command:str, nc_www_user:str, nc_path:str, nc_php_version:str="", outpu
if output != "":
cmd = cmd + f" --output {output}"
_proc = subprocess.Popen([ cmd ], shell=True, cwd=nc_path if docker_container != None, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
_proc = subprocess.Popen([ cmd ], shell=True, cwd=nc_path if docker_container is not None, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
stdout, stderr = _proc.communicate()
if (stderr):