Commit 4995128b authored by Jonathan Schaeffer's avatar Jonathan Schaeffer
Browse files

Decode process output

parent 8d23072a
......@@ -159,9 +159,9 @@ def wfcatalog(content):
], stdout=subprocess.PIPE)
(out, err) = sp.communicate()
if out:"WFCatalog standard output:\n%s", out)"WFCatalog standard output:\n%s", out.decode('utf-8'))
if err:"WFCatalog standard error:\n%s", err)"WFCatalog standard error:\n%s", err.decode('utf-8'))
if __name__ == "__main__":
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment