Dummy argument

main2
Bob Mottram 2019-10-16 19:24:06 +01:00
parent d8c4661741
commit 700ee84320
1 changed files with 2 additions and 2 deletions

View File

@ -4623,7 +4623,7 @@ def runPostsQueue(baseDir: str,sendThreads: [],debug: bool) -> None:
time.sleep(1)
removeDormantThreads(baseDir,sendThreads,debug)
def runPostsWatchdog(httpd) -> None:
def runPostsWatchdog(projectVersion: str,httpd) -> None:
"""This tries to keep the posts thread running even if it dies
"""
print('Starting posts queue watchdog')
@ -4783,7 +4783,7 @@ def runDaemon(projectVersion, \
if not unitTest:
httpd.thrPostsWatchdog= \
threadWithTrace(target=runPostsWatchdog, \
args=(httpd),daemon=True)
args=(projectVersion,httpd),daemon=True)
httpd.thrPostsWatchdog.start()
else:
httpd.thrPostsQueue.start()