Skip to content

Commit 20a35bd

Browse files
authored
Merge pull request #421 from adi611/adi611-patch-2
fix `AttributeError: module 'flux' has no attribute 'jobspec'`
2 parents 692e6d1 + 32aeeff commit 20a35bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/psij/executors/flux.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def submit(self, job: Job) -> None:
156156
if spec.stdin_path:
157157
flux_jobspec.stdin = spec.stdin_path
158158
if spec.stderr_path:
159-
flux.jobspec.stderr = spec.stderr_path
159+
flux_jobspec.stderr = spec.stderr_path
160160
flux_jobspec.duration = spec.attributes.duration.total_seconds()
161161
fut = self._flux_executor.submit(flux_jobspec)
162162
self._add_flux_callbacks(job, fut)

0 commit comments

Comments
 (0)