From 06a32b0e9d2f77bc333b3f4fdcd7727e9cd867e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=AF=E5=A4=A7=E4=BE=A0?= Date: Wed, 28 May 2025 23:52:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20TransHandler=E8=AF=AF=E6=8A=A5success?= =?UTF-8?q?=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/modules/filemanager/transhandler.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/modules/filemanager/transhandler.py b/app/modules/filemanager/transhandler.py index 88d8e986..b468a5cd 100644 --- a/app/modules/filemanager/transhandler.py +++ b/app/modules/filemanager/transhandler.py @@ -59,6 +59,8 @@ class TransHandler: current_value.update(value) else: current_value[key] = value + elif isinstance(current_value, bool): + current_value = value elif isinstance(current_value, int): current_value += value else: