Skip to content

Commit

Permalink
fix fatal parity parameter parsing error
Browse files Browse the repository at this point in the history
  • Loading branch information
nmakel committed Dec 13, 2020
1 parent 9dda488 commit 9d6be18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdm_modbus/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def __init__(
if (parity
and parity.upper() in ["N", "E", "O"]):
self.parity = parity.upper()
else
else:
self.parity = False

if baud:
Expand Down

0 comments on commit 9d6be18

Please sign in to comment.