From 6f5ec7e73e781a11cd37dceb698a9ad3bd8777ee Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Tue, 5 Mar 2024 10:20:43 -0600 Subject: [PATCH] fix(#7): specify encoding on subprocess --- patch-monolisa | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patch-monolisa b/patch-monolisa index 2934c73..c3c4ec4 100755 --- a/patch-monolisa +++ b/patch-monolisa @@ -91,7 +91,7 @@ def run_cmd( command, stdout=None if verbose else subprocess.PIPE, stderr=None if verbose else subprocess.STDOUT, - universal_newlines=True, + encoding="utf-8", ) if p.returncode != 0 and not ignore_error: