forked from indymedia/epicyon
Try partial
parent
7a7f2e0e97
commit
88c7e49aa5
|
@ -5659,7 +5659,8 @@ def runDaemon(mediaInstance: bool,maxRecentPosts: int, \
|
||||||
if unitTest:
|
if unitTest:
|
||||||
httpd = ThreadingHTTPServer(serverAddress, PubServerUnitTest)
|
httpd = ThreadingHTTPServer(serverAddress, PubServerUnitTest)
|
||||||
else:
|
else:
|
||||||
httpd = ThreadingHTTPServer(serverAddress, PubServer)
|
pubHandler = partial(PubServer)
|
||||||
|
httpd = ThreadingHTTPServer(serverAddress, pubHandler)
|
||||||
|
|
||||||
httpd.useBlurHash=useBlurHash
|
httpd.useBlurHash=useBlurHash
|
||||||
httpd.mediaInstance=mediaInstance
|
httpd.mediaInstance=mediaInstance
|
||||||
|
|
Loading…
Reference in New Issue