sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #36547
[Bug 1269650] Re: [1.0.1] getBundlePath() adds extra slash at end --- fixed in 1.1.0
@Jay
I do not know where you get that.
if you have something like that
someFolder/someBundle.sikuli
then exactly someBundle.sikuli is the folder containing the "bundle-
stuff"
... and this is returned by getBundlePath()
so if you want to access something inside the bundle:
myStuff = os.path.join(getBundlePath(), "myStuff.xxx")
supposing:
someFolder/someBundle.sikuli/myStuff.xxx
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1269650
Title:
[1.0.1] getBundlePath() adds extra slash at end --- fixed in 1.1.0
Status in Sikuli:
Fix Committed
Bug description:
Using getBundlePath() yields "/path/to/bundle.sikuli/ " as opposed to
"/path/to/bundle.sikuli", which was the behavior in previous versions.
Because of this change, os.path.dirname(getBundlePath()) stops giving
you "/path/to" and instead gives you '/path/to/bundle.sikuli", which a
rather annoying inconvenience.
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1269650/+subscriptions
References