diff --git a/daemon.py b/daemon.py index 36304da06..ad5c6cfc2 100644 --- a/daemon.py +++ b/daemon.py @@ -5659,7 +5659,8 @@ def runDaemon(mediaInstance: bool,maxRecentPosts: int, \ if unitTest: httpd = ThreadingHTTPServer(serverAddress, PubServerUnitTest) else: - httpd = ThreadingHTTPServer(serverAddress, PubServer) + pubHandler = partial(PubServer) + httpd = ThreadingHTTPServer(serverAddress, pubHandler) httpd.useBlurHash=useBlurHash httpd.mediaInstance=mediaInstance