Skip to content

Commit

Permalink
fix: pprint output as default style
Browse files Browse the repository at this point in the history
  • Loading branch information
spencerwooo committed Jan 24, 2023
1 parent 5761a86 commit 742d7dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bitsrun/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def do_action(action, username, password, verbose):
# Output direct result of the API response if verbose
if verbose:
click.echo(f"{click.style('bitsrun:', fg='cyan')} Response from API:")
pprint(resp, indent=4)
pprint(resp)

# Handle error from API response. When field `error` is not `ok`, then the
# login/logout action has likely failed. Hints are provided in the `error_msg`.
Expand Down

0 comments on commit 742d7dd

Please sign in to comment.