Skip to content

Commit 7450ed2

Browse files
Bumping version and correcting typo
1 parent b312ac9 commit 7450ed2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "pystages"
7-
version = "1.1.1"
7+
version = "1.1.1b"
88
authors = [
99
{ name="Olivier Hérivaux", email="olivier.heriveaux@ledger.fr" },
1010
{ name="Michaël Mouchous", email="michael.mouchous@ledger.fr" },

pystages/cncrouter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def get_current_status(self) -> Optional[Tuple[CNCStatus, dict]]:
181181
status = self.receive()
182182

183183
# Retry, sometimes it does not respond
184-
if status == b"":
184+
if status == "":
185185
self.send("?", eol="")
186186
status = self.receive()
187187

@@ -268,7 +268,7 @@ def receive(self) -> str:
268268
if part == b"":
269269
tries -= 1
270270
if tries == 0:
271-
return b""
271+
return ""
272272
# Remove CR-LF and return as string
273273
return response[:-2].decode()
274274

0 commit comments

Comments
 (0)