mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
f0ddf91a34
commit
43a3ab1b84
|
@ -479,7 +479,8 @@ def daemon_http_get(self) -> None:
|
||||||
self.server.i2p_domain,
|
self.server.i2p_domain,
|
||||||
getreq_start_time,
|
getreq_start_time,
|
||||||
None, self.server.debug,
|
None, self.server.debug,
|
||||||
self.server.enable_shared_inbox):
|
self.server.enable_shared_inbox,
|
||||||
|
self.server.fitness):
|
||||||
return
|
return
|
||||||
http_404(self, 111)
|
http_404(self, 111)
|
||||||
return
|
return
|
||||||
|
|
|
@ -25,7 +25,8 @@ def show_instance_actor(self, calling_domain: str,
|
||||||
onion_domain: str, i2p_domain: str,
|
onion_domain: str, i2p_domain: str,
|
||||||
getreq_start_time,
|
getreq_start_time,
|
||||||
cookie: str, debug: str,
|
cookie: str, debug: str,
|
||||||
enable_shared_inbox: bool) -> bool:
|
enable_shared_inbox: bool,
|
||||||
|
fitness: {}) -> bool:
|
||||||
"""Shows the instance actor
|
"""Shows the instance actor
|
||||||
"""
|
"""
|
||||||
if debug:
|
if debug:
|
||||||
|
@ -87,8 +88,7 @@ def show_instance_actor(self, calling_domain: str,
|
||||||
set_headers(self, 'application/activity+json', msglen,
|
set_headers(self, 'application/activity+json', msglen,
|
||||||
cookie, calling_domain, False)
|
cookie, calling_domain, False)
|
||||||
write2(self, msg)
|
write2(self, msg)
|
||||||
fitness_performance(getreq_start_time,
|
fitness_performance(getreq_start_time, fitness,
|
||||||
self.server.fitness,
|
|
||||||
'_GET', 'show_instance_actor',
|
'_GET', 'show_instance_actor',
|
||||||
debug)
|
debug)
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in New Issue