Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "python_thingset"
version = "0.2.4"
version = "0.2.5"
description = "A Python library for ThingSet functionality"
authors = [
{ name = "Adam Mitchell", email = "adam.mitchell@brillpower.com" }
Expand Down
2 changes: 1 addition & 1 deletion python_thingset/response.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def _get_status_byte(self, data: bytes) -> int:
return None

def _strip_null(self, data: bytes) -> bytes:
return data[1:].replace(b"\xf6", b"")
return data[1:].replace(b"\xf6", b"", 1)

@property
def mode(self) -> int:
Expand Down