Python: fixes that makes all examples run properly again

This commit is contained in:
Gaute Lindkvist
2019-07-30 15:26:38 +02:00
parent 4161171608
commit 2940713a42
3 changed files with 7 additions and 2 deletions

View File

@@ -111,7 +111,7 @@ class Case (PdmObject):
def views(self):
"""Get a list of views belonging to a case"""
pbmObjects = self.children("ReservoirView")
pbmObjects = self.children("ReservoirViews")
viewList = []
for pbmObject in pbmObjects:
viewList.append(View(pbmObject))