def update_comment(p_id): logging.info("update_comment request user response - Please input the id of the one you choose\n") c_id = input("Please input id of the one you choose:") logging.info("Response: ") logging.info(c_id) logging.info("\n") logging.info("update_comment request user response - Please input your comment\n") content = input("Please input your comment:") logging.info("Response: ") logging.info(content) logging.info("\n") comment.update(c_id,content) show_comments(p_id)
def update_comment(p_id): c_id = input("Please input id of the one you choose:") content = input("Please input your comment:") comment.update(c_id, content) show_comments(p_id)