def get_imhistogram(self,imname):
        """ Return the word histogram for an image. """
        
        im_id = self.con.execute(
            imname % "select rowid from imlist where filename='%s'").fetchone()
        s = self.con.execute(
            "select histogram from imhistograms where rowid='%d'" % im_id).fetchone()
        
        # use pickle to decode NumPy arrays from string
        return pickle.loads(str(s[0]))
dataset/ETHPy150Open jesolem/PCV/PCV/imagesearch/imagesearch.py/Searcher.get_imhistogram/swapped operands of `%`