From f040362ef81bb9824fcdc9c3eb9e15458e02bb40 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 6 Oct 2020 14:17:32 +0100 Subject: [PATCH] Three params --- daemon.py | 2 +- newswire.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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