From 9d6be1891775704b8c797e05ae44306b318849f3 Mon Sep 17 00:00:00 2001 From: niels <51261230+nmakel@users.noreply.github.com> Date: Sun, 13 Dec 2020 16:53:16 +0100 Subject: [PATCH] fix fatal parity parameter parsing error --- sdm_modbus/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdm_modbus/__init__.py b/sdm_modbus/__init__.py index 99c212a..8d6f6ea 100644 --- a/sdm_modbus/__init__.py +++ b/sdm_modbus/__init__.py @@ -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: