From 4a5ae622aac385eced044b60ea1bfc39d7f1bfc0 Mon Sep 17 00:00:00 2001 From: Tobias Witek Date: Wed, 25 Sep 2019 19:00:08 +0200 Subject: [PATCH] [core] Ignore unknown UTF-8 characters --- bumblebee/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bumblebee/util.py b/bumblebee/util.py index f3545ac..fdd3af5 100644 --- a/bumblebee/util.py +++ b/bumblebee/util.py @@ -31,7 +31,7 @@ def execute(cmd, wait=True): raise RuntimeError("{} exited with {}".format(cmd, proc.returncode)) if hasattr(out, "decode"): - rv = out.decode("utf-8") + rv = out.decode("utf-8", "ignore") else: rv = out