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