mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
de66a8915d
commit
3c540aea3d
|
@ -4973,7 +4973,9 @@ def daemon_http_get(self) -> None:
|
|||
self.server.sites_unavailable,
|
||||
self.server.no_of_books,
|
||||
self.server.auto_cw_cache,
|
||||
self.server.fitness):
|
||||
self.server.fitness,
|
||||
self.server.onion_domain,
|
||||
self.server.i2p_domain):
|
||||
self.server.getreq_busy = False
|
||||
return
|
||||
|
||||
|
|
|
@ -67,7 +67,9 @@ def show_shares_feed(self, authorized: bool,
|
|||
sites_unavailable: [],
|
||||
no_of_books: int,
|
||||
auto_cw_cache: {},
|
||||
fitness: {}) -> bool:
|
||||
fitness: {},
|
||||
onion_domain: str,
|
||||
i2p_domain: str) -> bool:
|
||||
"""Shows the shares feed for a particular account/actor
|
||||
"""
|
||||
shares = \
|
||||
|
@ -178,8 +180,6 @@ def show_shares_feed(self, authorized: bool,
|
|||
else:
|
||||
if secure_mode(curr_session, proxy_type, False,
|
||||
self.server, self.headers, self.path):
|
||||
onion_domain = self.server.onion_domain
|
||||
i2p_domain = self.server.i2p_domain
|
||||
msg_str = json.dumps(shares,
|
||||
ensure_ascii=False)
|
||||
msg_str = convert_domains(calling_domain,
|
||||
|
|
Loading…
Reference in New Issue