← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #168892]: 'NoneType' object is not iterable?

 

Question #168892 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/168892

    Status: Open => Answered

RaiMan proposed the following answer:
If you want to iterate more than once thru your matches after findAll(), you have to save the matches into a list first.
An iterator can only be used once.

look: http://sikuli.org/docx/region.html#Region.findAll
and: http://sikuli.org/docx/finder.html#finder

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.