Commit d3fb3cc7 authored by Hermann Krumrey's avatar Hermann Krumrey

Fix decode error in failing process call

parent 3cc3f7f2
......@@ -40,7 +40,7 @@ def process_call(command: List[str], ignore_error: bool = False) -> str:
if ignore_error:
output = "Error ignored during subprocess call"
else:
print(Fore.RED + e.stdout + Style.RESET_ALL)
print(Fore.RED + e.stdout.decode() + Style.RESET_ALL)
raise e
print(Fore.MAGENTA + output + Style.RESET_ALL)
......
Markdown is supported
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