Skip to content

Commit

Permalink
Bumping version and correcting typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mmouchous-ledger committed Mar 28, 2024
1 parent b312ac9 commit 7450ed2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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 = "pystages"
version = "1.1.1"
version = "1.1.1b"
authors = [
{ name="Olivier Hérivaux", email="[email protected]" },
{ name="Michaël Mouchous", email="[email protected]" },
Expand Down
4 changes: 2 additions & 2 deletions pystages/cncrouter.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def get_current_status(self) -> Optional[Tuple[CNCStatus, dict]]:
status = self.receive()

# Retry, sometimes it does not respond
if status == b"":
if status == "":
self.send("?", eol="")
status = self.receive()

Expand Down Expand Up @@ -268,7 +268,7 @@ def receive(self) -> str:
if part == b"":
tries -= 1
if tries == 0:
return b""
return ""
# Remove CR-LF and return as string
return response[:-2].decode()

Expand Down

0 comments on commit 7450ed2

Please sign in to comment.