master
Bob Mottram 2019-07-05 17:13:31 +01:00
parent 8829508207
commit f805786f9a
2 changed files with 0 additions and 3 deletions

View File

@ -243,10 +243,8 @@ class PubServer(BaseHTTPRequestHandler):
self.server.GETbusy=False
return
# look up a person
print('************personLookup start '+self.server.domain+' '+self.path+' '+self.server.baseDir)
getPerson = personLookup(self.server.domain,self.path, \
self.server.baseDir)
print('************personLookup end '+str(getPerson))
if getPerson:
self._set_headers('application/json')
self.wfile.write(json.dumps(getPerson).encode('utf-8'))

View File

@ -43,7 +43,6 @@ def webfingerHandle(session,handle: str,httpPrefix: str,cachedWebfingers: {}) ->
wfDomain=domain
if ':' in wfDomain:
wfDomain=wfDomain.split(':')[0]
#print('***********cachedWebfingers '+str(cachedWebfingers))
wf=getWebfingerFromCache(nickname+'@'+wfDomain,cachedWebfingers)
if wf:
return wf