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 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 = []