correct getrecordings method

This commit is contained in:
Bart Moyaers committed 2019-11-27 10:01:35 +01:00
1 parent 99ae058d01
commit 7b42ffef8a
1 file changed
+3 -3
+3 -3
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 = []