2005-08-20, 19:23
hi there,
i have a little problem on these lines of my script (xel.icio.us)
defaulttags="test"
keyboard = xbmc.keyboard(defaulttags)
keyboard.domodal()
if (keyboard.isconfirmed()):
if delicious.add(....):
dialog.ok("message","operation successful")
else: dialog.ok("warning","operation not completed")
else:return
it seems that when i confirm on keyboard (enter) without any change of the text ,it goes to the else:return line.
if i simply add a space ,everything works.
thank u for all, python on xbmc is simply terrific.
gangsta75
i have a little problem on these lines of my script (xel.icio.us)
defaulttags="test"
keyboard = xbmc.keyboard(defaulttags)
keyboard.domodal()
if (keyboard.isconfirmed()):
if delicious.add(....):
dialog.ok("message","operation successful")
else: dialog.ok("warning","operation not completed")
else:return
it seems that when i confirm on keyboard (enter) without any change of the text ,it goes to the else:return line.
if i simply add a space ,everything works.
thank u for all, python on xbmc is simply terrific.
gangsta75