Verified Commit d9a01bb7 authored by Maxime Buquet's avatar Maxime Buquet
Browse files

Fixes #3552: Prevent traceback on unhandled tab type (Thanks tofu)

Signed-off-by: Maxime Buquet's avatarMaxime “pep” Buquet <>
parent 304686c6
Pipeline #4503 passed with stages
in 16 minutes and 51 seconds
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment