1
0
Fork 0

Show status in csv format.

This commit is contained in:
Amjith Ramanujam 2022-05-22 20:40:58 -07:00
parent eb6b98367b
commit a0980e7241
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
repos:
- repo: https://github.com/psf/black
rev: 21.5b0
rev: 22.3.0
hooks:
- id: black

View File

@ -1625,8 +1625,8 @@ def format_output(title, cur, headers, status, settings):
output = itertools.chain(output, formatted)
# Only print the status if it's not None and we are not producing CSV
if status and table_format != "csv":
# Only print the status if it's not None
if status:
output = itertools.chain(output, [format_status(cur, status)])
return output