From 3179772d05aed9b13f2d6b913dca2b438d950dae Mon Sep 17 00:00:00 2001 From: Bail <2915289604@qq.com> Date: Sat, 25 Oct 2025 15:04:26 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DLANG=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E5=8F=98=E9=87=8F=E7=BC=BA=E5=A4=B1=E6=97=B6=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E5=90=AF=E5=8A=A8=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bail <2915289604@qq.com> --- mainwindow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mainwindow.py b/mainwindow.py index 3dc5ea9..604b397 100755 --- a/mainwindow.py +++ b/mainwindow.py @@ -1984,7 +1984,7 @@ def getFileFolderSize(fileOrFolderPath): # 获取当前语言 def get_now_lang()->"获取当前语言": - return os.getenv('LANG') + return os.getenv('LANG') or 'C' # 又需要修复多线程导致的控件问题 def AddDockerMenu():