reorder: .values() doesn't return a tuple
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
cac5ef8d0e
commit
c0d5d7ab0d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue