This debug log output shows that my RowsData, which is used to create my list, contains three entries. RowsList, however, is supposed to be the entry that I have selected from my List. As you can see, instead of it being a list of one item, it's a list of 4.
- Code: Select all
RowsData : a s df g,z x c v,q w e rt yu i (string)
RowsList : (list)
Item : z (string)
Item : x (string)
Item : c (string)
Item : v (string)
I believe my List is defined correctly, as I do get the following additional debug output:
- Code: Select all
RowsDataString: a s df g,z x c v,q w e rt yu i
RowsDataList: [u'a s df g', u'z x c v', u'q w e rt yu i']
Row: a s df g
Row: z x c v
Row: q w e rt yu i
returnList: [('a s df g', u'a s df g'), ('z x c v', u'z x c v'), ('q w e rt yu i', u'q w e rt yu i')]
I'm attempting to delete one of the Rows in the list, but since it's not giving me 'z x v c' as a single key, it won't find it in the List.
If my keys do not contain spaces, then everything works fine.
What am I doing wrong? And is this an Indigo-specific thing that I'm doing wrong, or is it a Python thing?