Return all IOs of base devices in the .io object as int() not bytes() when using .value

close #7
This commit is contained in:
2020-04-29 21:20:06 +02:00
parent 9d31bb5002
commit d54a588a78

View File

@@ -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
)