Fixes #3552: Prevent traceback on unhandled tab type (Thanks tofu)
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
304686c62c
commit
d9a01bb779
1 changed files with 1 additions and 1 deletions
|
@ -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':
|
||||
if result != 'empty' and isinstance(tab, TEXT_TO_TAB.values()):
|
||||
props.append((i, '%s:%s' % (result, tab.jid.full)))
|
||||
return props
|
||||
|
||||
|
|
Loading…
Reference in a new issue