Skip to content

Commit b58fabb

Browse files
committed
Fix syntax error in f-string in submission.pyx
This has been in here for years (since 2023) and causes parsing errors in Cython.
1 parent 1d1c4f5 commit b58fabb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyslurm/core/job/submission.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ cdef class JobSubmitDescription:
168168
continue
169169

170170
spec = attr.upper()
171-
val = pyenviron.get(f"PYSLURM_JOBDESC_{spec)}")
171+
val = pyenviron.get(f"PYSLURM_JOBDESC_{spec}")
172172
if (val is not None
173173
and (getattr(self, attr) is None or overwrite)):
174174

0 commit comments

Comments
 (0)