← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #227504]: Class file not updating?

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
I suppose createCategories is a createCategories.sikuli folder in the
same folder as the main script.

Or are you using another folder and modify sys.path?

At beginning of the main script, after all changes to sys.path and
before any import:

for e in sys.path: print e

check, wether one of the listed folders contains the old stuff.

If you are working with the IDE to run the main script, then you should
stop and restart  the IDE after modifications to the imported scripts or
you use reload() for every import (see:
http://doc.sikuli.org/globals.html#importing-other-sikuli-scripts-reuse-
code-and-images)

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