Dormant months can be set in config file

merge-requests/8/head
Bob Mottram 2020-12-13 13:49:32 +00:00
parent e727cc4c22
commit e1123279c8
1 changed files with 5 additions and 0 deletions

View File

@ -2037,6 +2037,11 @@ maxFeedItemSizeKb = \
if maxFeedItemSizeKb is not None: if maxFeedItemSizeKb is not None:
args.maxFeedItemSizeKb = int(maxFeedItemSizeKb) args.maxFeedItemSizeKb = int(maxFeedItemSizeKb)
dormantMonths = \
getConfigParam(baseDir, 'dormantMonths')
if dormantMonths is not None:
args.dormantMonths = int(dormantMonths)
allowNewsFollowers = \ allowNewsFollowers = \
getConfigParam(baseDir, 'allowNewsFollowers') getConfigParam(baseDir, 'allowNewsFollowers')
if allowNewsFollowers is not None: if allowNewsFollowers is not None: