1
0
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:
Joel Bender
2017-12-06 23:18:59 -05:00
parent 5e19456e23
commit ebbf8016d0
3 changed files with 3 additions and 3 deletions

View File

@@ -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" % (