mirror of
https://github.com/naruxde/revpimodio2.git
synced 2025-11-08 13:53:53 +01:00
Return all IOs of base devices in the .io object as int() not bytes() when using .value
close #7
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user