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
def getRecordings(self):
for uc in self.data.use_cases():
for detection in data.detections(uc):
return detection.recordings()
for detection in data.detections(self.data.use_cases()):
for recording in detection.recordings():
yield recording
def getRecordingGroups(self):
groups = []