mirror of https://gitlab.com/bashrc2/epicyon
Less indentation
parent
fe45873ffe
commit
372a9567c8
|
@ -8955,7 +8955,10 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
"""
|
"""
|
||||||
# look up a person
|
# look up a person
|
||||||
actorJson = personLookup(domain, path, baseDir)
|
actorJson = personLookup(domain, path, baseDir)
|
||||||
if actorJson:
|
if not actorJson:
|
||||||
|
return False
|
||||||
|
if atPath:
|
||||||
|
print('@ detected _showPersonProfile')
|
||||||
if self._requestHTTP():
|
if self._requestHTTP():
|
||||||
if not self.server.session:
|
if not self.server.session:
|
||||||
print('Starting new session during person lookup')
|
print('Starting new session during person lookup')
|
||||||
|
@ -8999,7 +9002,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
else:
|
else:
|
||||||
if self._fetchAuthenticated():
|
if self._fetchAuthenticated():
|
||||||
if atPath:
|
if atPath:
|
||||||
print('@ deteceted actor ' + str(actorJson))
|
print('@ detected actor ' + str(actorJson))
|
||||||
msg = json.dumps(actorJson,
|
msg = json.dumps(actorJson,
|
||||||
ensure_ascii=False).encode('utf-8')
|
ensure_ascii=False).encode('utf-8')
|
||||||
msglen = len(msg)
|
msglen = len(msg)
|
||||||
|
@ -9010,7 +9013,6 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
self._404()
|
self._404()
|
||||||
self.server.GETbusy = False
|
self.server.GETbusy = False
|
||||||
return True
|
return True
|
||||||
return False
|
|
||||||
|
|
||||||
def _showBlogPage(self, authorized: bool,
|
def _showBlogPage(self, authorized: bool,
|
||||||
callingDomain: str, path: str,
|
callingDomain: str, path: str,
|
||||||
|
|
Loading…
Reference in New Issue