fix: TransHandler误报success的bug

This commit is contained in:
景大侠
2025-05-28 23:52:23 +08:00
parent c91ab7a76b
commit 06a32b0e9d

View File

@@ -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: