diff options
author | Maxime “pep” Buquet <pep@bouah.net> | 2022-04-08 22:13:29 +0200 |
---|---|---|
committer | Maxime “pep” Buquet <pep@bouah.net> | 2022-04-08 22:13:29 +0200 |
commit | d9a01bb779839972439ec7b949141aa2d68258f0 (patch) | |
tree | 4dcd2c97fb002cec3b7d8eb8c8349d1c08750a2b /plugins | |
parent | 304686c62cdf5ee27df30e2f74bce3e2a64017e5 (diff) | |
download | poezio-d9a01bb779839972439ec7b949141aa2d68258f0.tar.gz poezio-d9a01bb779839972439ec7b949141aa2d68258f0.tar.bz2 poezio-d9a01bb779839972439ec7b949141aa2d68258f0.tar.xz poezio-d9a01bb779839972439ec7b949141aa2d68258f0.zip |
Fixes #3552: Prevent traceback on unhandled tab type (Thanks tofu)
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/reorder.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/reorder.py b/plugins/reorder.py index d4ab464b..5769d560 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': + if result != 'empty' and isinstance(tab, TEXT_TO_TAB.values()): props.append((i, '%s:%s' % (result, tab.jid.full))) return props |