diff --git a/daemon.py b/daemon.py index f159f9e9..b9e32a5d 100644 --- a/daemon.py +++ b/daemon.py @@ -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 diff --git a/newswire.py b/newswire.py index 1a59c0bf..ecef8c59 100644 --- a/newswire.py +++ b/newswire.py @@ -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