From 16b7b1d9bee215210d4afb7f7938b8af02eccd4a Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Wed, 27 Oct 2010 23:45:48 +0200 Subject: [PATCH] do not display columns with only None values --- weboob/tools/application/formatters/table.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weboob/tools/application/formatters/table.py b/weboob/tools/application/formatters/table.py index ccee5cf5..63c7d736 100644 --- a/weboob/tools/application/formatters/table.py +++ b/weboob/tools/application/formatters/table.py @@ -50,7 +50,7 @@ class TableFormatter(IFormatter): for i in xrange(len(self.keys)): available = False for line in self.queue: - if line[i] is not NotLoaded and line[i] is not NotAvailable: + if line[i] is not NotLoaded and line[i] is not NotAvailable and line[i] is not None: available = True break if available: