human
Solve the following python programming problem given the following code:
def adapt(wsroot) : 
    wsroot._scan_api = wsmeext.tg1.scan_api 
    controller = wsmeext.tg1.Controller (uninstall_filter) 
    filter_ = WSMECherrypyFilter (controller) 
    def install_filter() : 
        filter_.webpath = (config.get ('server.webpath') or '') 
        controller._wsroot._webpath = (filter_.webpath + controller._wsroot._webpath) 
        cherrypy.root._cp_filters.append (filter_) 
def uninstall_filter() : 
        cherrypy.root._cp_filters.remove (filter_) 
        controller._wsroot._webpath = controller._wsroot._webpath [len (filter_.webpath) :] 
call_on_startup.append (install_filter) 
    call_on_shutdown.insert (0, uninstall_filter) 
    return controller 

    
    

    Fix the buggy line: controller = wsmeext.tg1.Controller (uninstall_filter)
assistant
#Here is Python program to fix the buggy line: controller = wsmeext.

controller = wsmeext.tg1.Controller (wsroot)