Missing port argument

main
Bob Mottram 2019-12-12 19:05:55 +00:00
parent 7b96e12e2b
commit 4a53e8b2fe
2 changed files with 3 additions and 3 deletions

View File

@ -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, \

View File

@ -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, \