Skip to content

Commit

Permalink
Issue #18: stereo frame checker fails if no frame has been received
Browse files Browse the repository at this point in the history
  • Loading branch information
dzhoshkun committed Nov 13, 2018
1 parent 802a2b6 commit 506c4f9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 506c4f9

Please sign in to comment.