From 41cb5d3c0cb66cca3aee74e2232a17a7c3e7e4e7 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 30 Aug 2020 21:07:01 +0100 Subject: [PATCH] Extra parameter --- daemon.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/daemon.py b/daemon.py index 09d65c850..ee6625ad0 100644 --- a/daemon.py +++ b/daemon.py @@ -1466,7 +1466,8 @@ class PubServer(BaseHTTPRequestHandler): self.server.POSTbusy = False return - def _personOptions(self, path: str, callingDomain: str, cookie: str, + def _personOptions(self, path: str, + callingDomain: str, cookie: str, baseDir: str, httpPrefix: str, domain: str, domainFull: str, port: int, onionDomain: str, i2pDomain: str, @@ -9253,7 +9254,8 @@ class PubServer(BaseHTTPRequestHandler): # an option was chosen from person options screen # view/follow/block/report if self.path.endswith('/personoptions'): - self._personOptions(self, self.path, callingDomain, cookie, + self._personOptions(self.path, + callingDomain, cookie, self.server.baseDir, self.server.httpPrefix, self.server.domain,