diff --git a/app/pilotcli.py b/app/pilotcli.py index eb6b3057..f5f4bf7f 100644 --- a/app/pilotcli.py +++ b/app/pilotcli.py @@ -23,6 +23,7 @@ def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) def write_dl(self, rows, col_max=80, col_spacing=2): + if rows: # get max width of command widths = max([len(row[0]) for row in rows])