Question #227960 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/227960
Frank Feng gave more information on the question:
sorry, i made a mistake, actually the following line is not right:
for ch in event.changes:
if ch is None:
event.region.stopObserver()
raise Exception('the video stops playing')
'ch' will never get to 'None' i guess...
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp