def delete ( self , mutagen_file ) : for cover_tag in self . TAG_NAMES . values ( ) : try : del mutagen_file [ cover_tag ] except KeyError : pass
delete image files in python
Remove all images from the file .
def delete(self, mutagen_file):
        """Remove all images from the file.
        """
        for cover_tag in self.TAG_NAMES.values():
            try:
                del mutagen_file[cover_tag]
            except KeyError:
                pass