summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/reorder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/reorder.py b/plugins/reorder.py
index 5769d560..158b89bb 100644
--- a/plugins/reorder.py
+++ b/plugins/reorder.py
@@ -118,7 +118,7 @@ def parse_runtime_tablist(tablist):
i += 1
result = check_tab(tab)
# Don't serialize gap tabs as they're recreated automatically
- if result != 'empty' and isinstance(tab, TEXT_TO_TAB.values()):
+ if result != 'empty' and isinstance(tab, tuple(TEXT_TO_TAB.values())):
props.append((i, '%s:%s' % (result, tab.jid.full)))
return props