human
Solve the following python programming problem given the following code:
def checkKey(self, credentials) : 
    if (not credentials.signature) : 
        return True 
cmp_key = Key.fromString (credentials.blob).fingerprint ().replace (':', '') 
    apiserver_base_url = ('%s://%s:%d/' % (self.settings ['apiserver_protocol'], self.settings ['apiserver_hostname'], self.settings ['apiserver_port'])) 
    lookup_url = ('%sinternal/lookupUserByPublicKey?fingerprint=%s' % (apiserver_base_url, auth_key)) 
    log.msg (('Checking fingerprint: ' + lookup_url)) 
    d = defer.Deferred () 
    def cbResponse(resp) : 
        if (resp.code == 200) : 
            resp.deliverBody (UserExtractor (d, cmp_key, credentials)) 
else : 
            log.err (('Key auth failed for ' + cmp_key)) 
            d.errback (False) 
def cbErrResponse(failure) : 
        log.err ('Unable to contact api server') 
        d.errback (False) 
auth_key = base64.b64encode ((':%s' % self.settings ['apiserver_key'])) 
    headers = Headers ({ 
        'Authorization' : [(' Basic %s' % auth_key)], 
}) 
    req = self.agent.request ('GET', lookup_url, headers = headers) 
    req.addCallback (cbResponse) 
    req.addErrback (cbErrResponse) 
    return d 

    
    

    Fix the buggy line: lookup_url = ('%sinternal/lookupUserByPublicKey?fingerprint=%s' % (apiserver_base_url, auth_key))
assistant
#Here is Python code to fix the buggy line: lookup_url = ('%sinternal/lookupUserByPublicKey.

lookup_url = ('%sinternal/lookupUserByPublicKey?fingerprint=%s' % (apiserver_base_url, cmp_key))