Minimum newswire votes can be in the config file

main
Bob Mottram 2020-10-10 14:50:00 +01:00
parent fbb230ac5c
commit 12f6ef12a8
1 changed files with 4 additions and 0 deletions

View File

@ -1909,6 +1909,10 @@ registration = getConfigParam(baseDir, 'registration')
if not registration:
registration = False
minimumvotes = getConfigParam(baseDir, 'minvotes')
if minimumvotes:
args.minimumvotes = int(minimumvotes)
YTDomain = getConfigParam(baseDir, 'youtubedomain')
if YTDomain:
if '://' in YTDomain: