mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
7fe58a2af2
commit
ae8f845d08
|
@ -4998,7 +4998,9 @@ def daemon_http_get(self) -> None:
|
|||
self.server.buy_sites,
|
||||
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
|
||||
|
||||
|
@ -5052,7 +5054,9 @@ def daemon_http_get(self) -> None:
|
|||
self.server.buy_sites,
|
||||
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
|
||||
|
||||
|
|
|
@ -246,7 +246,9 @@ def show_following_feed(self, authorized: bool,
|
|||
buy_sites: [],
|
||||
no_of_books: int,
|
||||
auto_cw_cache: {},
|
||||
fitness: {}) -> bool:
|
||||
fitness: {},
|
||||
onion_domain: str,
|
||||
i2p_domain: str) -> bool:
|
||||
"""Shows the following feed for a particular account/actor
|
||||
"""
|
||||
following = \
|
||||
|
@ -376,8 +378,8 @@ def show_following_feed(self, authorized: bool,
|
|||
referer_domain,
|
||||
msg_str, http_prefix,
|
||||
domain,
|
||||
self.server.onion_domain,
|
||||
self.server.i2p_domain)
|
||||
onion_domain,
|
||||
i2p_domain)
|
||||
msg = msg_str.encode('utf-8')
|
||||
msglen = len(msg)
|
||||
accept_str = self.headers['Accept']
|
||||
|
@ -436,7 +438,9 @@ def show_moved_feed(self, authorized: bool,
|
|||
buy_sites: [],
|
||||
no_of_books: int,
|
||||
auto_cw_cache: {},
|
||||
fitness: {}) -> bool:
|
||||
fitness: {},
|
||||
onion_domain: str,
|
||||
i2p_domain: str) -> bool:
|
||||
"""Shows the moved feed for a particular account/actor
|
||||
"""
|
||||
following = \
|
||||
|
@ -552,8 +556,8 @@ def show_moved_feed(self, authorized: bool,
|
|||
referer_domain,
|
||||
msg_str, http_prefix,
|
||||
domain,
|
||||
self.server.onion_domain,
|
||||
self.server.i2p_domain)
|
||||
onion_domain,
|
||||
i2p_domain)
|
||||
msg = msg_str.encode('utf-8')
|
||||
msglen = len(msg)
|
||||
accept_str = self.headers['Accept']
|
||||
|
|
Loading…
Reference in New Issue