From ea17e87fcce2d7d3ed6e0ab478184dc25cb6cc14 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 5 Mar 2022 10:26:15 +0000 Subject: [PATCH] Tidying --- daemon.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/daemon.py b/daemon.py index c218f511a..8013a49bb 100644 --- a/daemon.py +++ b/daemon.py @@ -9877,7 +9877,7 @@ class PubServer(BaseHTTPRequestHandler): onion_domain: str, i2p_domain: str, getreq_start_time, proxy_type: str, cookie: str, - debug: str) -> bool: + debug: str, session) -> bool: """Shows the replies to a post """ if not ('/statuses/' in path and '/users/' in path): @@ -9940,7 +9940,6 @@ class PubServer(BaseHTTPRequestHandler): recent_posts_cache = self.server.recent_posts_cache max_recent_posts = self.server.max_recent_posts translate = self.server.translate - session = self.server.session cached_webfingers = self.server.cached_webfingers person_cache = self.server.person_cache project_version = self.server.project_version @@ -10037,7 +10036,6 @@ class PubServer(BaseHTTPRequestHandler): recent_posts_cache = self.server.recent_posts_cache max_recent_posts = self.server.max_recent_posts translate = self.server.translate - session = self.server.session cached_webfingers = self.server.cached_webfingers person_cache = self.server.person_cache project_version = self.server.project_version @@ -16663,7 +16661,8 @@ class PubServer(BaseHTTPRequestHandler): self.server.i2p_domain, getreq_start_time, self.server.proxy_type, cookie, - self.server.debug): + self.server.debug, + self.server.session): self.server.getreq_busy = False return