From 32aeeff28ccb20e5b48df9dd0f8bfe006f0dedaf Mon Sep 17 00:00:00 2001 From: Aditya Agarwal <50960175+adi611@users.noreply.github.com> Date: Mon, 2 Oct 2023 15:19:51 +0530 Subject: [PATCH] Update flux.py - fix `AttributeError: module 'flux' has no attribute 'jobspec'` --- src/psij/executors/flux.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/psij/executors/flux.py b/src/psij/executors/flux.py index 41bbf715..ef09cb79 100644 --- a/src/psij/executors/flux.py +++ b/src/psij/executors/flux.py @@ -158,7 +158,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)