correct getrecordings method

This commit is contained in:
Bart Moyaers
2019-11-27 10:01:35 +01:00
parent 99ae058d01
commit 7b42ffef8a

View File

@@ -53,9 +53,9 @@ class RecordingGrouper:
self.data = data self.data = data
def getRecordings(self): def getRecordings(self):
for uc in self.data.use_cases(): for detection in data.detections(self.data.use_cases()):
for detection in data.detections(uc): for recording in detection.recordings():
return detection.recordings() yield recording
def getRecordingGroups(self): def getRecordingGroups(self):
groups = [] groups = []