Skip to content
Snippets Groups Projects
Commit 00e97573 authored by Markus Wieczorek's avatar Markus Wieczorek
Browse files

log_analyzer hotfix

parent e21fbc3e
No related merge requests found
......@@ -190,7 +190,7 @@ def check_safety_distance(safety_distance, config):
:param config: safety_distance as defined in the config files
:return: False if these do not match, True otherwise
"""
if Decimal(safety_distance) <= Decimal(config['rangeLeftBorder']) or Decimal(safety_distance) >= Decimal(config['rangeRightBorder']):
if Decimal(safety_distance) < Decimal(config['rangeLeftBorder']) or Decimal(safety_distance) > Decimal(config['rangeRightBorder']):
return False
else:
return True
......
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