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

    Status: Open => Answered

RaiMan proposed the following answer:
the directory, that has to be in sys.path, to <import xxx> stored at
some-path/xxx.siklui has to be the path CONTAINING the .sikuli you want
to import.

so it has to be:
        currDir = tests
        if not currDir in sys.path:
            sys.path.append(currDir)

and this can be outside the loop, since it is static for your loop.

-- 
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

Reply via email to