mirror of
https://github.com/JoelBender/bacpypes
synced 2025-10-27 00:57:47 +08:00
copy/paste error, tests now pass
This commit is contained in:
@@ -210,7 +210,7 @@ class Property(Logging):
|
||||
))
|
||||
|
||||
# if it's atomic, make sure it's valid
|
||||
if issubclass(self.datatype, AnyAtomic):
|
||||
elif issubclass(self.datatype, AnyAtomic):
|
||||
if _debug: Property._debug(" - property is any atomic, checking value")
|
||||
if not isinstance(value, Atomic):
|
||||
raise InvalidParameterDatatype("%s must be an atomic instance" % (
|
||||
|
||||
Reference in New Issue
Block a user