Skip to content

Commit bf561b1

Browse files
fix a bug with devices list --include-settings (#372)
* fix a bug with devices list --include-settings * style
1 parent edd4877 commit bf561b1

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/code42cli/cmds/devices.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -443,9 +443,12 @@ def _get_device_dataframe(
443443

444444

445445
def _add_settings_to_dataframe(sdk, device_dataframe):
446-
macos_guids = device_dataframe.loc[
447-
device_dataframe["osName"] == "mac", "guid"
448-
].values
446+
macos_guids = [
447+
{"guid": value}
448+
for value in device_dataframe.loc[
449+
device_dataframe["osName"] == "mac", "guid"
450+
].values
451+
]
449452

450453
def handle_row(guid):
451454
try:

0 commit comments

Comments
 (0)