Commit de475ee1 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI

Account for empty frame containers too

parent a0bbe9e8
Pipeline #17661 passed with stage
in 20 minutes and 59 seconds
......@@ -86,6 +86,10 @@ class Wrapper (bob.bio.base.extractor.Extractor):
if extracted is not None:
# add features to new frame container
fc.add(index, extracted, quality)
if not len(fc):
return None
return fc
......
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