From 3013209cfc462216eb7723376cea354e18017356 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 21 Oct 2020 12:08:57 +0100 Subject: [PATCH] Maximum news posts in config file --- epicyon.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/epicyon.py b/epicyon.py index 0b980f4c..474ff6a4 100644 --- a/epicyon.py +++ b/epicyon.py @@ -1960,6 +1960,11 @@ maxMirroredArticles = \ if maxMirroredArticles is not None: args.maxMirroredArticles = int(maxMirroredArticles) +maxNewsPosts = \ + getConfigParam(baseDir, 'maxNewsPosts') +if maxNewsPosts is not None: + args.maxNewsPosts = int(maxNewsPosts) + YTDomain = getConfigParam(baseDir, 'youtubedomain') if YTDomain: if '://' in YTDomain: