Maximum news posts in config file

main
Bob Mottram 2020-10-21 12:08:57 +01:00
parent 32758ffe62
commit 3013209cfc
1 changed files with 5 additions and 0 deletions

View File

@ -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: