Fix status table output
This commit is contained in:
parent
1e8e186394
commit
1ab12b14c2
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ def status(context: typer.Context, switch_id: SwitchIdArgument) -> None:
|
||||||
table = rich.table.Table("Outlet", "Status")
|
table = rich.table.Table("Outlet", "Status")
|
||||||
for key in sorted(statuses.keys()):
|
for key in sorted(statuses.keys()):
|
||||||
table.add_row(str(key), statuses[key].value.upper())
|
table.add_row(str(key), statuses[key].value.upper())
|
||||||
console.print(table)
|
console.print(table)
|
||||||
|
|
||||||
|
|
||||||
@app.command()
|
@app.command()
|
||||||
|
|
Loading…
Reference in a new issue