sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #37156
[Bug 1555354] Re: Raw string in prefStore not working
Python rule:
raw strings cannot have a \ as last character
** Changed in: sikuli
Status: New => Invalid
** Converted to question:
https://answers.launchpad.net/sikuli/+question/288406
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1555354
Title:
Raw string in prefStore not working
Status in Sikuli:
Invalid
Bug description:
I am using 1.1.0 (2015-10-05_17:07) on Windows 10 64-bit.
This works:
Sikulix.prefStore("log", r"C:\asdf")
print Sikulix.prefLoad("log")
Output:
C:\asdf
But this doesn't:
Sikulix.prefStore("log", r"C:\")
print Sikulix.prefLoad("log")
Output:
[error] script [ Preferences ] stopped with error in line 1 at column 23
[error] SyntaxError ( "mismatched input '\\n' expecting RPAREN", )
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1555354/+subscriptions
References