Skip to content

Commit

Permalink
change dict pop to dict get
Browse files Browse the repository at this point in the history
  • Loading branch information
svandenhaute committed Feb 15, 2024
1 parent 61dc109 commit 642316f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psiflow/execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ def load(
executors.append(executor)

# create default executors
container_dict = psiflow_config.get("container", None)
container_dict = psiflow_config.pop("container", None)
if container_dict is not None:
launcher = ContainerizedLauncher(**container_dict)
else:
Expand Down

0 comments on commit 642316f

Please sign in to comment.