def candidates_from_word(self,imword):
        """ Get list of images containing imword. """
        
        im_ids = self.con.execute(
            imword % "select distinct imid from imwords where wordid=%d").fetchall()
        return [i[0] for i in im_ids]
dataset/ETHPy150Open jesolem/PCV/PCV/imagesearch/imagesearch.py/Searcher.candidates_from_word/swapped operands of `%`