From a01ea921b0dc31758e7b4af578222f85c9f9c41c Mon Sep 17 00:00:00 2001 From: Jonatan Heyman Date: Wed, 31 Jan 2024 12:32:13 +0100 Subject: [PATCH] Specify utf-8 encoding --- template/restore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/restore.py b/template/restore.py index 4ce1d26..aca53b6 100644 --- a/template/restore.py +++ b/template/restore.py @@ -35,7 +35,7 @@ def cmd(command, **kwargs): sys.stderr.write("\n".join([ "Command execution failed. Output:", "-"*80, - e.output.decode(), + e.output.decode("utf-8"), "-"*80, "" ]))