Beispiel #1
0
def insert_comment(p_id):
    global new_c_id
    logging.info("insert_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.insert(new_c_id,content,p_id,this_u_id)
    new_c_id += 1
    show_comments(p_id)  
Beispiel #2
0
def insert_comment(p_id):
    global new_c_id
    content = input("Please input your comment:")
    comment.insert(new_c_id, content, p_id, this_u_id)
    new_c_id += 1
    show_comments(p_id)