Commit 85a0b93f authored by Oliver Kirsebom's avatar Oliver Kirsebom
Browse files

Added FAV threhsold config

parent 865d0679
......@@ -82,7 +82,10 @@ def parse_config(path):
f = FAVFilter()
elif x == 'FAV_THRESHOLD':
f = FAVThresholdFilter()
threshold = 3.0
if data.get('fav_config') is not None:
threshold = data['fav_config'].get('threshold')
f = FAVThresholdFilter(threshold=threshold)
print('Warning: Unknown filter {0} will be ignored'.format(x))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment