1
0
mirror of https://github.com/JoelBender/bacpypes synced 2025-10-27 00:57:47 +08:00

use the string form of the property which may include an array index and looks like an integer for vendor properties (#255)

This commit is contained in:
Joel Bender
2019-03-09 17:39:22 -05:00
parent f56446be05
commit e22dd25c45

View File

@@ -789,7 +789,7 @@ class DiscoverConsoleCmd(ConsoleCmd):
print("{}: {}".format(property_label, str_value))
# save it in the snapshot
snapshot.upsert(devid, '{}:{}'.format(*objectIdentifier), propertyIdentifier, str_value)
snapshot.upsert(devid, '{}:{}'.format(*objectIdentifier), property_label, str_value)
# do something for error/reject/abort
if iocb.ioError: