New question #661161 on Sikuli:
https://answers.launchpad.net/sikuli/+question/661161

def Save_Settings(event):
        configFile = File("config.properties")
        inProps = Properties()  
        inProps.setProperty("Member", check_member_enable.isSelected())
        outputStream = FileOutputStream(configFile)
        inProps.store(outputStream, "host setttings")
        outputStream.close()


I get this error: TypeError: setProperty(): 2nd arg can't be coerced to String
I try: inProps.setProperty("Member", 
String.valueOf(check_member_enable.isSelected())

**How can I make this work.. ???
Thank you!

-- 
You received this question notification because your team Sikuli Drivers
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