From bf8bf6834c99fb3487d007b8b49e60fff4cdbc0f Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 2 Aug 2020 11:18:39 +0100 Subject: [PATCH] Missing argument --- daemon.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/daemon.py b/daemon.py index 0dc37299a..ad7fd5340 100644 --- a/daemon.py +++ b/daemon.py @@ -3480,6 +3480,8 @@ class PubServer(BaseHTTPRequestHandler): self.server.httpPrefix projectVersion = \ self.server.projectVersion + ytDomain = \ + self.server.YTReplacementDomain msg = \ htmlIndividualPost(recentPostsCache, maxRecentPosts, @@ -3494,7 +3496,8 @@ class PubServer(BaseHTTPRequestHandler): postJsonObject, httpPrefix, projectVersion, - likedBy) + likedBy, + ytDomain) msg = msg.encode('utf-8') self._set_headers('text/html', len(msg), cookie, callingDomain) @@ -3945,6 +3948,8 @@ class PubServer(BaseHTTPRequestHandler): self.server.httpPrefix projectVersion = \ self.server.projectVersion + ytDomain = \ + self.server.YTReplacementDomain msg = \ htmlIndividualPost(recentPostsCache, maxRecentPosts, @@ -3960,7 +3965,8 @@ class PubServer(BaseHTTPRequestHandler): postJsonObject, httpPrefix, projectVersion, - likedBy) + likedBy, + ytDomain) msg = msg.encode('utf-8') self._set_headers('text/html', len(msg),