Skip to content
Snippets Groups Projects

Resolve "Optimade API is not working with v1.1.1"

Merged Markus Scheidgen requested to merge 847-optimade-api-is-not-working-with-v1-1-1 into v1.1.1
1 file
+ 5
0
Compare changes
  • Side-by-side
  • Inline
@@ -256,6 +256,11 @@ class StructureCollection(EntryCollection):
get_results()
section = archive
for segment in path:
if isinstance(section, list):
if len(section) == 0:
value = None
break
section = section[0]
value = getattr(section, segment)
section = value
Loading