Skip to content

Commit

Permalink
fix: iteration over env vars (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneskoester authored Oct 6, 2024
1 parent 61e2907 commit 07135e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snakemake_interface_executor_plugins/executors/real.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def get_envvar_declarations(self):
declaration = ""
envars = self.envvars()
if self.common_settings.pass_envvar_declarations_to_cmd and envars:
defs = " ".join(f"{var}={value!r}" for var, value in envars)
defs = " ".join(f"{var}={value!r}" for var, value in envars.items())
declaration = f"export {defs} &&"
return declaration

Expand Down

0 comments on commit 07135e5

Please sign in to comment.