← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #269048]: How can I have a script that works in both 1.0.1 and 1.1.0

 

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

Description changed to:
I've got a script which has to work in 1.0.1 and 1.1.0.
My problem is that the "import org.sikuli.basics.SikuliXforJython" statement in 1.0.1 has changed to "import org.sikuli.basics.SikulixForJython" in 1.1.0 ("Xf" -> "xF").

I'm looking at using importlib.import_module but wondered if there was a
better way to do this

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