Extra dummy parameter

main2
Bob Mottram 2019-10-19 13:40:00 +01:00
parent 1fc5750174
commit b19ab510bd
1 changed files with 2 additions and 2 deletions

View File

@ -4616,7 +4616,7 @@ def runPostsQueue(baseDir: str,sendThreads: [],debug: bool) -> None:
time.sleep(1) time.sleep(1)
removeDormantThreads(baseDir,sendThreads,debug) removeDormantThreads(baseDir,sendThreads,debug)
def runSharesExpire(baseDir: str) -> None: def runSharesExpire(versionNumber: str,baseDir: str) -> None:
"""Expires shares as needed """Expires shares as needed
""" """
while True: while True:
@ -4806,7 +4806,7 @@ def runDaemon(projectVersion, \
print('Creating expire thread for shared items') print('Creating expire thread for shared items')
httpd.thrSharesExpire= \ httpd.thrSharesExpire= \
threadWithTrace(target=runSharesExpire, \ threadWithTrace(target=runSharesExpire, \
args=(baseDir),daemon=True) args=(__version__,baseDir),daemon=True)
if not unitTest: if not unitTest:
httpd.thrSharesExpireWatchdog= \ httpd.thrSharesExpireWatchdog= \
threadWithTrace(target=runSharesExpireWatchdog, \ threadWithTrace(target=runSharesExpireWatchdog, \