Skip to content

Commit 32aeeff

Browse files
authored
Update flux.py - fix AttributeError: module 'flux' has no attribute 'jobspec'
1 parent 79309dc commit 32aeeff

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
@@ -158,7 +158,7 @@ def submit(self, job: Job) -> None:
158158
if spec.stdin_path:
159159
flux_jobspec.stdin = spec.stdin_path
160160
if spec.stderr_path:
161-
flux.jobspec.stderr = spec.stderr_path
161+
flux_jobspec.stderr = spec.stderr_path
162162
flux_jobspec.duration = spec.attributes.duration.total_seconds()
163163
fut = self._flux_executor.submit(flux_jobspec)
164164
self._add_flux_callbacks(job, fut)

0 commit comments

Comments
 (0)