From dffdf4680f975018846bc3a5d5347e205530e14b Mon Sep 17 00:00:00 2001 From: Michael Arthur Date: Thu, 31 Oct 2024 12:58:32 +1300 Subject: [PATCH] log message instead of msg --- pymammotion/aliyun/cloud_gateway.py | 2 +- pyproject.toml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pymammotion/aliyun/cloud_gateway.py b/pymammotion/aliyun/cloud_gateway.py index 4c5d7d9..010ae15 100644 --- a/pymammotion/aliyun/cloud_gateway.py +++ b/pymammotion/aliyun/cloud_gateway.py @@ -684,7 +684,7 @@ def send_cloud_command(self, iot_id: str, command: bytes) -> str: logger.error( "Error in sending cloud command: %s - %s", str(response_body_dict.get("code")), - str(response_body_dict.get("msg")), + str(response_body_dict.get("message")), ) if response_body_dict.get("code") == 29003: logger.debug(self._session_by_authcode_response.data.identityId) diff --git a/pyproject.toml b/pyproject.toml index 0678b5a..2be4388 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,10 +1,10 @@ [project] name = "pymammotion" -version = "0.2.97" +version = "0.2.98" [tool.poetry] name = "pymammotion" -version = "0.2.97" +version = "0.2.98" license = "GNU-3.0" description = "" readme = "README.md" @@ -61,7 +61,7 @@ mypy = "^1.11.2" autotyping = "^24.3.0" [tool.bumpver] -current_version = "0.2.97" +current_version = "0.2.98" version_pattern = "MAJOR.MINOR.PATCH" commit_message = "Bump version {old_version} -> {new_version}" commit = true