def change_image_path(self, image_path):
        """Change image path and replace surface.

        Only does so if the given image path is
        different than the one currently in use.
        """
        if self.image_path == image_path:
            return

        self.image = IMAGE_SURFS_DB[image_path][self.image_settings]

        self.image_path = image_path
Change image path and replace surface.

        Only does so if the given image path is
        different than the one currently in use.
        
nodezator/imagesman/cache.py