From 7dcdae0013760e7f9a3ddad94bfb383c9166773a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=9C=A8=E5=B0=8F=E9=80=8F=E6=98=8E=E3=83=BB=E5=AE=B8?= =?UTF-8?q?=E2=9C=A8?= <47057319+TransparentLC@users.noreply.github.com> Date: Mon, 27 May 2024 10:40:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dupscayl-bin=E5=92=8Crealesrga?= =?UTF-8?q?n-ncnn-vulkan=E7=9A=84=E7=BC=96=E7=A0=81=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #31 --- task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/task.py b/task.py index 74627e8..117ba50 100644 --- a/task.py +++ b/task.py @@ -144,7 +144,7 @@ def run(self) -> None: cmd, stderr=subprocess.PIPE, universal_newlines=True, - encoding='utf-8', + encoding='utf-8' if os.path.splitext(os.path.split(define.RE_PATH)[1])[0] == 'upscayl-bin' else None, creationflags=subprocess.CREATE_NO_WINDOW if os.name == 'nt' else 0, ) as p: for line in p.stderr: