human
Solve the following python programming problem given the following code:
@ bp.route ('/publish') 
def publish_build() : 
    db = g.admin_context.pad.db 
    server = request.values ['server'] 
    config = db.env.load_config () 
    server_info = config.get_server (server_info) 
    info = current_app.lektor_info 
    @ eventstream 
    def generator() : 
        try : 
            event_iter = (publish (info.env, server_info.target, info.output_path) or ()) 
            for event in event_iter : 
                (yield { 
                    'msg' : event, 
}) 
except PublishError as e : 
            (yield { 
                'msg' : ('Error: %s' % e), 
}) 
return generator () 

    
    

    Fix the buggy line: server_info = config.get_server (server_info)
assistant
#Here is Python program to fix the buggy line: server_info = config.

server_info = config.get_server (server)