summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/reorder.py4
1 files changed, 3 insertions, 1 deletions
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