From 7b2b21be304dfa788d56f301053b54892c33589c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Thu, 14 May 2020 17:15:11 +0200 Subject: plugins/reorder: fix GapTab serialization MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- plugins/reorder.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/reorder.py b/plugins/reorder.py index 26f5f13d..01de5c5d 100644 --- a/plugins/reorder.py +++ b/plugins/reorder.py @@ -113,7 +113,9 @@ def parse_runtime_tablist(tablist): for tab in tablist[1:]: i += 1 result = check_tab(tab) - if result: + if result == 'empty': + props.append((i, 'empty')) + elif result: props.append((i, '%s:%s' % (result, tab.jid.full))) return props -- cgit v1.2.3