> sources = filter(None, self.html5_sources)

Fixed.