diff --git a/bstrd/bscache.py b/bstrd/bscache.py index 96b1268..8620366 100644 --- a/bstrd/bscache.py +++ b/bstrd/bscache.py @@ -92,7 +92,11 @@ class BSCache: self.channels[name] = cfg self.pt.start() - while self.data is None or name not in self.data: + while self.data is None: + print("dropping empty data") + next(self) + + while name not in self.data: print("dropping data that is missing new channel:", name) next(self)