From 506c4f900b8b5398993406cfc4d020d3ade765c8 Mon Sep 17 00:00:00 2001 From: Dzhoshkun Ismail Shakir Date: Tue, 13 Nov 2018 13:49:30 +0000 Subject: [PATCH] Issue #18: stereo frame checker fails if no frame has been received --- src/tests/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tests/utils.py b/src/tests/utils.py index 4dc02ac5..ae4e70ed 100644 --- a/src/tests/utils.py +++ b/src/tests/utils.py @@ -25,6 +25,8 @@ def update(self, frame): pass # TODO def __bool__(self): + if not self.stereo_frames_consistencies: + return False for consistency in self.stereo_frames_consistencies: if not consistency: return False