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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user