reorder: .values() doesn't return a tuple

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2022-07-15 14:54:21 +02:00
parent cac5ef8d0e
commit c0d5d7ab0d
Signed by: pep
GPG key ID: DEDA74AEECA9D0F2

View file

@ -118,7 +118,7 @@ def parse_runtime_tablist(tablist):
i += 1 i += 1
result = check_tab(tab) result = check_tab(tab)
# Don't serialize gap tabs as they're recreated automatically # 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))) props.append((i, '%s:%s' % (result, tab.jid.full)))
return props return props