Merge pull request #4360 from cddjr/fix_TransHandler

This commit is contained in:
jxxghp
2025-05-29 00:06:32 +08:00
committed by GitHub
+2
View File
@@ -59,6 +59,8 @@ class TransHandler:
current_value.update(value) current_value.update(value)
else: else:
current_value[key] = value current_value[key] = value
elif isinstance(current_value, bool):
current_value = value
elif isinstance(current_value, int): elif isinstance(current_value, int):
current_value += value current_value += value
else: else: