'Send http request to comment'

def comment(self, media_id, comment_text):

    if self.login_status:
        comment_post = {'comment_text': comment_text}
        url_comment = (self.url_comment % media_id)
        try:
            comment = self.s.post(url_comment, data=comment_post)
            if (comment.status_code == 200):
                self.comments_counter += 1
                log_string = ('Write:    "%s".    #%i.' % (comment_text, self.comments_counter))
                self.write_log(log_string)
            return comment
        except:
            self.write_log('Except    on    comment!')
    return False
