mirror of https://gitlab.com/bashrc2/epicyon
Try partial
parent
7a7f2e0e97
commit
88c7e49aa5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue