summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorMaxime Buquet <pep@bouah.net>2020-05-14 17:37:59 +0200
committerMaxime Buquet <pep@bouah.net>2020-05-14 17:37:59 +0200
commita241edb08d72f8a829df66c026789c3f86c017d0 (patch)
treeabe123aef15e7af526c1cb2161475a58e314a8b9 /plugins
parent7b5c44b3613fb2b9255a4cf0319846bed39fcc64 (diff)
parent7b2b21be304dfa788d56f301053b54892c33589c (diff)
downloadpoezio-a241edb08d72f8a829df66c026789c3f86c017d0.tar.gz
poezio-a241edb08d72f8a829df66c026789c3f86c017d0.tar.bz2
poezio-a241edb08d72f8a829df66c026789c3f86c017d0.tar.xz
poezio-a241edb08d72f8a829df66c026789c3f86c017d0.zip
Merge branch 'reorder-gaptab' into 'master'
plugins/reorder: fix GapTab serialization See merge request poezio/poezio!100
Diffstat (limited to 'plugins')
-rw-r--r--plugins/reorder.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/reorder.py b/plugins/reorder.py
index 26f5f13d..01de5c5d 100644
--- a/plugins/reorder.py
+++ b/plugins/reorder.py
@@ -113,7 +113,9 @@ def parse_runtime_tablist(tablist):
for tab in tablist[1:]:
i += 1
result = check_tab(tab)
- if result:
+ if result == 'empty':
+ props.append((i, 'empty'))
+ elif result:
props.append((i, '%s:%s' % (result, tab.jid.full)))
return props