Strange digit appears on list from PyDataSet
I had this code on the click of a button which produced a list?? of column names, it has just been noticed that the results of this have changed in that every column name in the list is preceeded by a "u", i.e. [u'Mains_Water', u'Hotwell_Water', u'Hotwell_Steam', u'Energy_parasitic']
. The "u" never used to be there. Did upgrade to 7.4 a couple of weeks ago, other than that I am baffled??
if I add "print value" into the loop the values are correct, if I add "print search" then the "u"'s appear in the console.
event.source.parent.start = 1
event.source.parent.end = 5
search = 
columns = system.dataset.toPyDataSet(event.source.parent.column_names)
for row in columns:
for value in row:
event.source.parent.search = search[event.source.parent.start:event.source.parent.end]