mirror of https://gitlab.com/bashrc2/epicyon
Maximum news posts in config file
parent
32758ffe62
commit
3013209cfc
|
@ -1960,6 +1960,11 @@ maxMirroredArticles = \
|
||||||
if maxMirroredArticles is not None:
|
if maxMirroredArticles is not None:
|
||||||
args.maxMirroredArticles = int(maxMirroredArticles)
|
args.maxMirroredArticles = int(maxMirroredArticles)
|
||||||
|
|
||||||
|
maxNewsPosts = \
|
||||||
|
getConfigParam(baseDir, 'maxNewsPosts')
|
||||||
|
if maxNewsPosts is not None:
|
||||||
|
args.maxNewsPosts = int(maxNewsPosts)
|
||||||
|
|
||||||
YTDomain = getConfigParam(baseDir, 'youtubedomain')
|
YTDomain = getConfigParam(baseDir, 'youtubedomain')
|
||||||
if YTDomain:
|
if YTDomain:
|
||||||
if '://' in YTDomain:
|
if '://' in YTDomain:
|
||||||
|
|
Loading…
Reference in New Issue