← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #637765]: Sikuli Framework - Issue in using switch statement to perform the actions from different .py file

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
I guess, this is not allowed:
                  return {
                           'Type' : type(obj.getImage(Field),value)
                               }.get(keyword, 'NoValue')

must be
                  return {'Type' : type(obj.getImage(Field),value)}.get(keyword, 'NoValue')

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.