コード例 #1
0
def test():
    urp = urp_courses('2012081507','520134')
    if urp.login():
        urp.course_info()
    else:
        flash('passwd error!')
    return 'succeed'
コード例 #2
0
def test():
    urp = urp_courses('2012081507','520134')
    if urp.login():
        urp.course_info()
        flash('succeed!')
    else:
        flash('fail!')
    return render_template('succeed.html')
コード例 #3
0
def test():
    urp = urp_courses('2012081507', '520134')
    if urp.login():
        urp.course_info()
        flash('succeed!')
    else:
        flash('fail!')
    return render_template('succeed.html')