diff --git a/daemon_get.py b/daemon_get.py index 4df5c9d28..7fee88f4c 100644 --- a/daemon_get.py +++ b/daemon_get.py @@ -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 diff --git a/daemon_get_feeds.py b/daemon_get_feeds.py index 4b7827f84..fd29c6598 100644 --- a/daemon_get_feeds.py +++ b/daemon_get_feeds.py @@ -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']