Run the show

def run(self):
        """ Run the show """

        self.show()

        if not self.wait:
            return
        
        for image in self.slides:
            wait = image.get('time', 0)
            wait = max(self.wait, wait)
            print('waiting %d seconds %s' % (
                wait, image.get('image', '')))
            yield image
            time.sleep(wait)
            self.next()