diff --git a/python/nistoar/pdr/preserv/bagger/midas3.py b/python/nistoar/pdr/preserv/bagger/midas3.py index 9e67c31c..b0d3fda5 100644 --- a/python/nistoar/pdr/preserv/bagger/midas3.py +++ b/python/nistoar/pdr/preserv/bagger/midas3.py @@ -498,7 +498,7 @@ def forMetadataBag(cls, bagdir, config=None, minter=None, for_pres=False): upldir = bgrmd.get('upload_directory') resmd = bag.nerd_metadata_for('') - return MIDASMetadataBagger(resmd.get['ediid'], bgrmd.get('bag_parent'), + return MIDASMetadataBagger(resmd['ediid'], bgrmd.get('bag_parent'), bgrmd.get('data_directory'), upldir, config, None, minter)