Skip to content

Commit

Permalink
Merge pull request #421 from adi611/adi611-patch-2
Browse files Browse the repository at this point in the history
fix `AttributeError: module 'flux' has no attribute 'jobspec'`
  • Loading branch information
hategan authored Oct 10, 2023
2 parents 692e6d1 + 32aeeff commit 20a35bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/psij/executors/flux.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def submit(self, job: Job) -> None:
if spec.stdin_path:
flux_jobspec.stdin = spec.stdin_path
if spec.stderr_path:
flux.jobspec.stderr = spec.stderr_path
flux_jobspec.stderr = spec.stderr_path
flux_jobspec.duration = spec.attributes.duration.total_seconds()
fut = self._flux_executor.submit(flux_jobspec)
self._add_flux_callbacks(job, fut)
Expand Down

0 comments on commit 20a35bd

Please sign in to comment.