Skip to content

Commit

Permalink
Fix the list_sp index issue (NVIDIA#503)
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaacYangSLA authored May 9, 2022
1 parent 8a68bce commit 1775b64
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nvflare/fuel/hci/client/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,9 @@ def print_resp(self, resp: dict):

if "data" in resp:
for item in resp["data"]:
item_type = item["type"]
if not isinstance(item, dict):
continue
item_type = item.get("type")
if item_type == "string":
self.write_string(item["data"])
elif item_type == "table":
Expand Down

0 comments on commit 1775b64

Please sign in to comment.