diff --git a/integrator/bscw.py b/integrator/bscw.py index c77f582..33a81ee 100644 --- a/integrator/bscw.py +++ b/integrator/bscw.py @@ -190,7 +190,7 @@ class ReadContainer(BSCWProxyBase, ReadContainer): def data(self): data = self.attributes if len(data) > 1: - return dict((item['id'], item) for item in data[1]) + return dict((item['id'], item) for item in data[1] if 'id' in item) else: return {}