1
0
Fork 0

Fix comparison.

This commit is contained in:
Thomas Roten 2017-06-26 12:09:37 -05:00
parent 423eefe0d6
commit d26a1933aa
1 changed files with 1 additions and 1 deletions

View File

@ -952,7 +952,7 @@ def format_output(title, cur, headers, status, settings):
formatted = formatter.format_output(rows, headers, **output_kwargs)
first_line = formatted[:formatted.find('\n')]
if (not expanded and max_width and len(first_line) <= max_width and headers):
if (not expanded and max_width and len(first_line) > max_width and headers):
formatted = formatter.format_output(
rows, headers, format_name='vertical', **output_kwargs)