Skip to content

Commit

Permalink
Fix bad path
Browse files Browse the repository at this point in the history
  • Loading branch information
winstonolson committed Jun 4, 2024
1 parent e4b50b0 commit 3ab246c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daac_delivery.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def submit_cnm_notification(wm, granule_ur, paths, collection, collection_versio
# Build notification dictionary
utc_now = datetime.datetime.now(tz=datetime.timezone.utc)
cnm_submission_id = f"{granule_ur}_{utc_now.strftime('%Y%m%dt%H%M%S')}"
cnm_submission_path = os.path.join(os.path.basename(paths[0]), cnm_submission_id + "_cnm.json")
cnm_submission_path = os.path.join(os.path.dirname(paths[0]), cnm_submission_id + "_cnm.json")
# TODO: Use S3 provider?
provider = wm.config["daac_provider_forward"]
queue_url = wm.config["daac_submission_url_forward"]
Expand Down

0 comments on commit 3ab246c

Please sign in to comment.