From e6bd0e32edd8da353bad19960faca918a852038b Mon Sep 17 00:00:00 2001 From: Sakamoto Shiina <68018796+ShiinaSakamoto@users.noreply.github.com> Date: Tue, 26 Aug 2025 17:20:29 +0900 Subject: [PATCH] [bugfix] controller.py: Fix the bug, type error. that was unable to store the data correctly. --- src-python/controller.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src-python/controller.py b/src-python/controller.py index 3e652886..c34abaf8 100644 --- a/src-python/controller.py +++ b/src-python/controller.py @@ -1462,7 +1462,7 @@ class Controller: @staticmethod def setSendMessageFormatParts(data, *args, **kwargs) -> dict: - config.SEND_MESSAGE_FORMAT_PARTS = str(data) + config.SEND_MESSAGE_FORMAT_PARTS = dict(data) return {"status":200, "result":config.SEND_MESSAGE_FORMAT_PARTS} @staticmethod @@ -1471,7 +1471,7 @@ class Controller: @staticmethod def setReceivedMessageFormatParts(data, *args, **kwargs) -> dict: - config.RECEIVED_MESSAGE_FORMAT_PARTS = str(data) + config.RECEIVED_MESSAGE_FORMAT_PARTS = dict(data) return {"status":200, "result":config.RECEIVED_MESSAGE_FORMAT_PARTS} @staticmethod