Commit d3fb3cc7 authored by Hermann Krumrey's avatar Hermann Krumrey
Browse files

Fix decode error in failing process call

parent 3cc3f7f2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)