Skip to content

Commit

Permalink
Ensure no items in ManifestRef.
Browse files Browse the repository at this point in the history
  • Loading branch information
markpbaggett committed Jan 20, 2025
1 parent ff9d576 commit 71187ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iiif_prezi3/helpers/make_manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ def make_manifest(self, **kwargs):
calling Collection items and returns the newly created Manifest.
Accepts keyword arguments to customize the resulting instance.
"""
kwargs.pop('items', None)
manifest = ManifestRef(**kwargs)
self.add_item(manifest)

return manifest

monkeypatch_schema(Collection, MakeManifest)

0 comments on commit 71187ac

Please sign in to comment.