summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2022-07-15 14:54:21 +0200
committerMaxime “pep” Buquet <pep@bouah.net>2022-07-15 14:54:21 +0200
commitc0d5d7ab0d33608a718d0262f4d806306226c5ea (patch)
treec1de47e007b612d3a83a1d7d6e1aeed9ae1cf7e4
parentcac5ef8d0ea705acc17c8d305e3c74bab14196d2 (diff)
downloadpoezio-c0d5d7ab0d33608a718d0262f4d806306226c5ea.tar.gz
poezio-c0d5d7ab0d33608a718d0262f4d806306226c5ea.tar.bz2
poezio-c0d5d7ab0d33608a718d0262f4d806306226c5ea.tar.xz
poezio-c0d5d7ab0d33608a718d0262f4d806306226c5ea.zip
reorder: .values() doesn't return a tuple
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
-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