jp (common): various Table fixes:

- renamed fromDict to more accurate fromListDict
- fixed handling of None filter in fromListDict
- fixes show_header when no header exist
- escape headers when using namedtuple, so it won't fail
This commit is contained in:
Goffi 2020-01-25 21:08:37 +01:00
commit da3b7b5fea

View file

@ -316,7 +316,7 @@ class InviteesList(base.CommandBase):
show_table = OUTPUT_OPT_TABLE in self.args.output_opts
table = common.Table.fromDict(
table = common.Table.fromListDict(
self.host,
data,
("nick",)