From 88cc48480f3a1d2c0e6abfc01434339b0a089c6c Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 22 Nov 2020 20:41:01 +0000 Subject: [PATCH] Tidying --- newsdaemon.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/newsdaemon.py b/newsdaemon.py index ecdc252f..a08f0e20 100644 --- a/newsdaemon.py +++ b/newsdaemon.py @@ -711,8 +711,6 @@ def runNewswireDaemon(baseDir: str, httpd, print('Newswire daemon session established') # try to update the feeds - newNewswire = None - # try: newNewswire = \ getDictFromNewswire(httpd.session, baseDir, domain, httpd.maxNewswirePostsPerSource, @@ -720,10 +718,6 @@ def runNewswireDaemon(baseDir: str, httpd, httpd.maxTags, httpd.maxFeedItemSizeKb, httpd.maxNewswirePosts) - # except Exception as e: - # print('WARN: unable to update newswire ' + str(e)) - # time.sleep(120) - # continue if not httpd.newswire: if os.path.isfile(newswireStateFilename):