← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #162999]: Using dictionaries

 

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

    Status: Solved => Open

Calle Rundgren is still having a problem:
blah! I got another error now. TypeError: 'dict' object is not callable.

I found out that the solution to this is to make the dictionary look up
with square brackets [].

But I ca not find out which () to replace with the [].

The error seems to occur at this line:

def getImage(self, imageName):
    return self.images[imageName]

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