From 6e523ed4d0bb638361babfd6a77dd33b9ae5e6ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=97=AD?= Date: Wed, 11 Oct 2023 09:29:04 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BF=AE=E5=A4=8D=20stderr=20?= =?UTF-8?q?=E7=9A=84=E7=BC=96=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- publish.py | 1 + 1 file changed, 1 insertion(+) diff --git a/publish.py b/publish.py index 2ac013efe..727ac7d0a 100644 --- a/publish.py +++ b/publish.py @@ -9,6 +9,7 @@ # 不知为何在 Github Actions 中运行时默认编码为 ANSI,而且每次 print 都刷新流才能正常显示 sys.stdout.reconfigure(encoding='utf-8') +sys.stderr.reconfigure(encoding='utf-8') ##################################################################### #