Skip to content

Commit

Permalink
Updated bug with key
Browse files Browse the repository at this point in the history
  • Loading branch information
Karthik Satheesh Kumar committed Sep 12, 2023
1 parent 612b92a commit 23f3e97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pycentral/device_inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def add_devices(self, conn, device_details):
extra_resp = resp['msg']['extra']
if (resp["code"] == 200):
avail_devices = extra_resp['message']["available_device"]
device_serials = [device["serial"] for device in avail_devices]
device_serials = [device["serial_number"] for device in avail_devices]
logger.info(
f'Successfully added devices(with SN - \
{", ".join(str(device) for device in device_serials)}) \
Expand Down

0 comments on commit 23f3e97

Please sign in to comment.