Skip to content

Commit 179df12

Browse files
authored
Update job.py
1 parent ed49b5b commit 179df12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cwltool/job.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ def run(self, pull_image=True, rm_container=True,
334334
default_container = find_default_container and find_default_container()
335335
if default_container:
336336
img_id = default_container
337-
env = os.environ
337+
env = cast(MutableMapping[Text, Text], os.environ)
338338

339339
if docker_req and img_id is None and kwargs.get("use_container"):
340340
raise Exception("Docker image not available")

0 commit comments

Comments
 (0)