Skip to content

Commit

Permalink
Fix minor linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Gadgetoid committed Feb 9, 2022
1 parent 7a19c35 commit c05b14e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/pa1010d/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def read_sentence(self, timeout=5):
# Should be a full \r\n since the GPS emits spurious newlines
if buf[-2:] == [ord("\r"), ord("\n")]:
# Remove line ending and spurious newlines from the sentence
return bytearray(buf).decode("ascii").strip().replace("\n","")
return bytearray(buf).decode("ascii").strip().replace("\n", "")

raise TimeoutError("Timeout waiting for readline")

Expand Down

0 comments on commit c05b14e

Please sign in to comment.