summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/lennart/DataProcessor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lennart/DataProcessor.py b/lib/lennart/DataProcessor.py
index b46315a..8341b9c 100644
--- a/lib/lennart/DataProcessor.py
+++ b/lib/lennart/DataProcessor.py
@@ -111,7 +111,7 @@ class DataProcessor:
)
logger.debug(f"Start/End offsets: {start_offset} / {end_offset}")
- if end_offset > 10:
+ if abs(end_offset) > 10:
logger.warning(
f"synchronization end_offset == {end_offset}. It should be no more than a few seconds."
)