Three params

main
Bob Mottram 2020-10-06 14:17:32 +01:00
parent bee236a44f
commit f040362ef8
2 changed files with 3 additions and 3 deletions

View File

@ -11286,7 +11286,7 @@ def runDaemon(blogsInstance: bool, mediaInstance: bool,
print('Creating newswire thread')
httpd.thrNewswireDaemon = \
threadWithTrace(target=runNewswireDaemon,
args=(baseDir, httpd), daemon=True)
args=(baseDir, httpd, 'newswire'), daemon=True)
# flags used when restarting the inbox queue
httpd.restartInboxQueueInProgress = False

View File

@ -17,7 +17,7 @@ from utils import locatePost
from utils import loadJson
from utils import saveJson
from utils import isSuspended
from utils import getConfigParam
# from utils import getConfigParam
def rss2Header(httpPrefix: str,
@ -408,7 +408,7 @@ def getDictFromNewswire(session, baseDir: str) -> {}:
return sortedResult
def runNewswireDaemon(baseDir: str, httpd):
def runNewswireDaemon(baseDir: str, httpd, unused: str):
"""Periodically updates RSS feeds
"""
# initial sleep to allow the system to start up