From d54a588a784a70b9b044160eea7016ee9661b123 Mon Sep 17 00:00:00 2001 From: Sven Sager Date: Wed, 29 Apr 2020 21:20:06 +0200 Subject: [PATCH] Return all IOs of base devices in the .io object as int() not bytes() when using .value close #7 --- revpimodio2/device.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/revpimodio2/device.py b/revpimodio2/device.py index 80730d1..f70b266 100644 --- a/revpimodio2/device.py +++ b/revpimodio2/device.py @@ -310,8 +310,8 @@ class Device(object): "little", False ) - elif bool(dict_io[key][7]) or isinstance(self, Base): - # Bei Bitwerten oder Base IOBase verwenden + elif bool(dict_io[key][7]): + # Bei Bitwerten IOBase verwenden io_new = IOBase( self, dict_io[key], iotype, "little", False )