예제 #1
0
def browse_goto(path, db):
    controller = Browse(cfg, db)
    return controller.goto(path)
예제 #2
0
def browse_dir(path, db):
    if not request.url.endswith('/'):
        redirect('%s/' % request.url)

    controller = Browse(cfg, db)
    return controller.browse(path)
예제 #3
0
def browse_(db):
    controller = Browse(cfg, db)
    return controller.hosts()
예제 #4
0
파일: web.py 프로젝트: iksteen/findex-gui
def browse_goto(path, db):
    controller = Browse(cfg, db)
    return controller.goto(path)
예제 #5
0
파일: web.py 프로젝트: iksteen/findex-gui
def browse_dir(path, db):
    if not request.url.endswith('/'):
        redirect('%s/' % request.url)

    controller = Browse(cfg, db)
    return controller.browse(path)
예제 #6
0
파일: web.py 프로젝트: iksteen/findex-gui
def browse_(db):
    controller = Browse(cfg, db)
    return controller.hosts()