From c0d5d7ab0d33608a718d0262f4d806306226c5ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Fri, 15 Jul 2022 14:54:21 +0200 Subject: reorder: .values() doesn't return a tuple MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- plugins/reorder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3