Skip to content

Commit

Permalink
fix error in read me
Browse files Browse the repository at this point in the history
readme made it look like last_error was a fuction
  • Loading branch information
drunsinn committed Nov 28, 2023
1 parent dc06e43 commit 834899a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@

Since the whole protocol isn't documented there can always be problems with certain corner cases. Especially during file transfer a lot of stuff can go wrong.
In case the control doesn't accept a command it returns an error. Some of these errors are checked internally but not everything is covered as of now. It is therefore
best to check the last error with `con.last_error()`. Every error consists of type and a status code. The enum `LSV2StatusCode` contains all known status codes.
best to check the last error with `con.last_error`. Every error consists of type and a status code. The enum `LSV2StatusCode` contains all known status codes.

### Notes for upgrade to v1.xx
Notice: The change from 0.xx to 1.xx brought some major incompatible changes in regards to the API:
Expand Down

0 comments on commit 834899a

Please sign in to comment.