plugins/reorder: fix GapTab serialization

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2020-05-14 17:15:11 +02:00
parent 7b5c44b361
commit 7b2b21be30
Signed by: pep
GPG key ID: DEDA74AEECA9D0F2

View file

@ -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