Commit 5b286216 authored by Oliver Kirsebom's avatar Oliver Kirsebom
Browse files

fixed type error

parent 85a0b93f
......@@ -84,7 +84,7 @@ def parse_config(path):
elif x == 'FAV_THRESHOLD':
threshold = 3.0
if data.get('fav_config') is not None:
threshold = data['fav_config'].get('threshold')
threshold = float(data['fav_config'].get('threshold'))
f = FAVThresholdFilter(threshold=threshold)
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