def artist_art(self,artist):
        """ return all of the album covers for a particular artist """

        images = []
        
        # get a list of all of the filenames associated with the selected artist
        filenames = [filename for filename in os.listdir(self.disk_root) if filename.startswith(artist % "%s -")] 

        for i in filenames:
            album_name = i.split(' - ')[1][:-4]

            # we include the name of the album in the list we're returning so 
            # we can auto-link the img on the albums list page 
            images.append({
                            'album'  :album_name,
                            'imgurl' :"%s/%s" % (self.www_root,i)
                         })
                            
        return images
dataset/ETHPy150Open ralfonso/theory/theory/model/albumart.py/AlbumArt.artist_art/swapped operands of `%`