Fix subdomains detection for acme

This commit is contained in:
VirtuBox
2019-10-12 11:07:25 +02:00
parent 8c8a092510
commit 3c0498c4ad
4 changed files with 21 additions and 21 deletions

View File

@@ -23,9 +23,9 @@ class WOShellExec():
stderr=subprocess.PIPE, shell=True) as proc:
(cmd_stdout_bytes, cmd_stderr_bytes) = proc.communicate()
(cmd_stdout, cmd_stderr) = (cmd_stdout_bytes.decode('utf-8',
"replace"),
"replace"),
cmd_stderr_bytes.decode('utf-8',
"replace"))
"replace"))
if proc.returncode == 0:
Log.debug(self, "Command Output: {0}, \nCommand Error: {1}"
@@ -60,9 +60,9 @@ class WOShellExec():
stderr=subprocess.PIPE, shell=True) as proc:
(cmd_stdout_bytes, cmd_stderr_bytes) = proc.communicate()
(cmd_stdout, cmd_stderr) = (cmd_stdout_bytes.decode('utf-8',
"replace"),
"replace"),
cmd_stderr_bytes.decode('utf-8',
"replace"))
"replace"))
if proc.returncode == 0:
Log.debug(self, "Command Output: {0}, \nCommand Error: {1}"