Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
use getenv to get the value of an env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
MustafaJafar committed Apr 15, 2024
1 parent 25fa7a9 commit b1c2324
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def _submit_deadline_post_job(self, instance, job, instances):
create_metadata_path(instance, anatomy)

environment = {
"AVALON_DB": os.environ["AVALON_DB"],
"AVALON_DB": os.getenv("AVALON_DB"),
"AVALON_PROJECT": instance.context.data["projectName"],
"AVALON_ASSET": instance.context.data["asset"],
"AVALON_TASK": instance.context.data["task"],
Expand Down

0 comments on commit b1c2324

Please sign in to comment.