Skip to content

Commit

Permalink
bump version and backport fix for get_maintainence
Browse files Browse the repository at this point in the history
  • Loading branch information
mikey0000 committed Dec 16, 2024
1 parent c50397b commit 0a4bf1f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions pymammotion/mammotion/commands/messages/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,8 @@ def request_iot_sys(
build.todev_report_cfg.act}")
return self.send_order_msg_sys_legacy(build)

def get_maintenance(self) -> None:
self.request_iot_sys(
def get_maintenance(self) -> bytes:
return self.request_iot_sys(
rpt_act=RptAct.RPT_START,
rpt_info_type=[
RptInfoType.RIT_MAINTAIN,
Expand All @@ -273,7 +273,7 @@ def get_maintenance(self) -> None:
timeout=1000,
period=1000,
no_change_period=2000,
count=0,
count=3,
)

def get_report_cfg_stop(self, timeout: int = 10000, period: int = 1000, no_change_period: int = 1000):
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[project]
name = "pymammotion"
version = "0.3.5"
version = "0.3.7"

[tool.poetry]
name = "pymammotion"
version = "0.3.5"
version = "0.3.7"
license = "GNU-3.0"
description = ""
readme = "README.md"
Expand Down Expand Up @@ -60,7 +60,7 @@ mypy = "^1.11.2"
autotyping = "^24.3.0"

[tool.bumpver]
current_version = "0.3.5"
current_version = "0.3.7"
version_pattern = "MAJOR.MINOR.PATCH"
commit_message = "Bump version {old_version} -> {new_version}"
commit = true
Expand Down

0 comments on commit 0a4bf1f

Please sign in to comment.