From 4a53e8b2fe75ab61ecf69ec11b7eb0c50744d941 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 12 Dec 2019 19:05:55 +0000 Subject: [PATCH] Missing port argument --- daemon.py | 4 ++-- webinterface.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/daemon.py b/daemon.py index 0d4fd65c..ea3b07d3 100644 --- a/daemon.py +++ b/daemon.py @@ -1635,7 +1635,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.GETbusy=False return hashtagStr= \ - htmlHashtagSearch(self.server.domain, \ + htmlHashtagSearch(self.server.domain,self.server.port, \ self.server.recentPostsCache, \ self.server.maxRecentPosts, \ self.server.translate, \ @@ -4649,7 +4649,7 @@ class PubServer(BaseHTTPRequestHandler): if searchStr.startswith('#'): # hashtag search hashtagStr= \ - htmlHashtagSearch(self.server.domain, \ + htmlHashtagSearch(self.server.domain,self.server.port, \ self.server.recentPostsCache, \ self.server.maxRecentPosts, \ self.server.translate, \ diff --git a/webinterface.py b/webinterface.py index f4b83f39..1bbc924e 100644 --- a/webinterface.py +++ b/webinterface.py @@ -345,7 +345,7 @@ def htmlModerationInfo(translate: {},baseDir: str,httpPrefix: str) -> str: infoForm+=htmlFooter() return infoForm -def htmlHashtagSearch(domain: str, \ +def htmlHashtagSearch(domain: str,port: int, \ recentPostsCache: {},maxRecentPosts: int, \ translate: {}, \ baseDir: str,hashtag: str,pageNumber: int, \