forked from indymedia/epicyon
Missing argument
parent
cdba45bd68
commit
8cf9dde826
|
@ -152,7 +152,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
print('DEBUG: WEBFINGER lookup '+self.path+' '+str(self.server.baseDir))
|
print('DEBUG: WEBFINGER lookup '+self.path+' '+str(self.server.baseDir))
|
||||||
wfResult=webfingerLookup(self.path,self.server.baseDir,self.server.port,self.server.debug)
|
wfResult=webfingerLookup(self.path,self.server.baseDir,self.server.port,self.server.debug)
|
||||||
if wfResult:
|
if wfResult:
|
||||||
self._set_headers('application/jrd+json')
|
self._set_headers('application/jrd+json',None)
|
||||||
self.wfile.write(json.dumps(wfResult).encode('utf-8'))
|
self.wfile.write(json.dumps(wfResult).encode('utf-8'))
|
||||||
else:
|
else:
|
||||||
if self.server.debug:
|
if self.server.debug:
|
||||||
|
|
Loading…
Reference in New Issue