mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-08-28 19:47:41 +08:00
fix: TransHandler误报success的bug
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user