2005-05-01, 01:51
i need need some help. i get this warning:
ftp server is still working
the warning is issued on this simple code:
it seems that the == operator doesn't return the expected value.
am i doing something wrong?
is there an alternative way to do the comparison?
bernd
Quote:runtimewarning: tp_compare didn't return -1 or -2 for exceptionin the logfile and then the xbmc gui freezes.
elif control == self.list:
ftp server is still working
the warning is issued on this simple code:
Quote:def oncontrol(self, control):the control is created using:
if control == none:
print('none button pressed')
elif control == self.list:
print('list button pressed')
Quote:self.list = xbmcgui.controllist(list_x, list_y, list_width, list_height, 'font13')
self.addcontrol(self.list)
it seems that the == operator doesn't return the expected value.
am i doing something wrong?
is there an alternative way to do the comparison?
bernd