Merge branch 'reorder-gaptab' into 'master'

plugins/reorder: fix GapTab serialization

See merge request poezio/poezio!100
This commit is contained in:
Maxime Buquet 2020-05-14 17:37:59 +02:00
commit a241edb08d

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