fix a human format bug for settings

This commit is contained in:
Ryan Petrello
2019-09-09 15:25:04 -04:00
parent 276b577103
commit 3e97608914

View File

@@ -165,6 +165,8 @@ def format_human(output, fmt):
except (ValueError, TypeError):
if isinstance(v, (list, dict)):
return json.dumps(v)
if v is None:
return ''
return v
# calculate the max width of each column