Commit deae8c98 authored by Aurel's avatar Aurel

make sure to always have a list of 3 items returned

parent e422a1bf
......@@ -104,6 +104,8 @@ if matrixbox :\n
cell_range.append(category_cell_range)\n
\n
cell_range = filter(lambda x: x != [], cell_range)\n
while len(cell_range) < 3:\n
cell_range.append([])\n
return cell_range\n
else:\n
list_of_category_list = []\n
......
585
\ No newline at end of file
586
\ No newline at end of file
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