Skip to content

Commit

Permalink
ioutils: array for table values of ioutils_dict_print()
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Oct 15, 2024
1 parent 4146e82 commit 533aee8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kamcli/ioutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def ioutils_dict_print(ctx, oformat, ostyle, res):
# pprint.pprint(dict(row), indent=4)
print()
elif oformat == "table":
gstring = tabulate(res, headers="keys", tablefmt=ostyle)
gstring = tabulate([res.values()], headers=res.keys(), tablefmt=ostyle)
print(gstring)
else:
print(res)
Expand Down

0 comments on commit 533aee8

Please sign in to comment.