if not images:
            self.twitter.update_status(status=template % status)
        else:
            medias = map(lambda i: self.upload_media(i), images)
            self.twitter.post('/statuses/update_with_media',
                              params={'status': template % status,
                              'media': medias[0]})

def tweet(self, status, images):
        # time.sleep(10)
        template = "%s #soyprice"
        """
        if not images:
            self.twitter.update_status(status=template % status)
        else:
            medias = map(lambda i: self.upload_media(i), images)
            self.twitter.post('/statuses/update_with_media',
                              params={'status': template % status,
                              'media': medias[0]})
                              """
        print template % status, len(template % status)