diff options
| -rw-r--r-- | remote-https-runner/runner.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/remote-https-runner/runner.py b/remote-https-runner/runner.py index c550555..2fa03b5 100644 --- a/remote-https-runner/runner.py +++ b/remote-https-runner/runner.py @@ -59,9 +59,10 @@ def key(key): start = time.time() output = subprocess.check_output(cmd, shell=True) end = time.time() + duration = "{:.2f}".format(end - start) output = output.decode("utf-8") if type(output) == bytes else output - duration = "{:.2f}".format(end - start) + output = output.encode("unicode_escape").decode("utf-8") logging.info("Command output:") logging.info(output) |
