From 142a68a97ceaf822dcc8c0560b0fb3f4cf2f24b3 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 21 Oct 2021 14:43:48 +0100 Subject: [PATCH] Default cw lists --- daemon.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/daemon.py b/daemon.py index afff8991f..099a04901 100644 --- a/daemon.py +++ b/daemon.py @@ -17199,8 +17199,6 @@ def runDaemon(defaultReplyIntervalHours: int, updateBlockedCache(baseDir, httpd.blockedCache, httpd.blockedCacheLastUpdated, httpd.blockedCacheUpdateSecs) - httpd.listsEnabled = getConfigParam(baseDir, "listsEnabled") - httpd.CWlists = loadCWLists(baseDir, True, httpd.listsEnabled) # cache to store css files httpd.cssCache = {} @@ -17219,6 +17217,10 @@ def runDaemon(defaultReplyIntervalHours: int, if not os.path.isdir(baseDir + '/accounts/news@' + domain): print('Creating news inbox: news@' + domain) createNewsInbox(baseDir, domain, port, httpPrefix) + setConfigParam(baseDir, "listsEnabled", "Murdoch press") + + httpd.listsEnabled = getConfigParam(baseDir, "listsEnabled") + httpd.CWlists = loadCWLists(baseDir, True, httpd.listsEnabled) # set the avatar for the news account httpd.themeName = getConfigParam(baseDir, 'theme')