Browse Source

Use proper naming of investigation IDs

Matthias Vogelgesang 9 năm trước cách đây
mục cha
commit
5414d865a4
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      dm.py

+ 1 - 1
dm.py

@@ -42,7 +42,7 @@ class Object(EntityContainer):
         super(Object, self).__init__(root)
         self.id = self.entities['baseId']
         self.uuid = self.entities['digitalObjectIdentifier']
-        self.investigation = root.find('entities/entity/investigation/investigationId').text
+        self.investigation_id = root.find('entities/entity/investigation/investigationId').text
 
         node = root.find('entities/entity/uploader/userId')
         self.uploader = node.text if node is not None else None