← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #252800]: changes from True to False

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
ok, my bad - consequences of scripting without testing ;-)

in 
def getInstructions(inp):
    store = {}
    configInput = open(inp)
    for line in configInput.readlines():
        (key, val) = line.strip().split("=")
        config[key.strip()] = val.strip() <---- this line
    configInput.close()
    return store

… must be
        store[key.strip()] = val.strip()

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