Skip to content

Commit 257f110

Browse files
nicholas-slyPaul-Ferrell
authored andcommitted
Added check for ending with an asterisk. (#51)
1 parent 55cee91 commit 257f110

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pavilion/plugins/sched/slurm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def slurm_states(state):
208208
else:
209209
return 'UNKNOWN'
210210

211-
if state.endswith('$'):
211+
if state.endswith('$') or state.endswith('*'):
212212
state = state[:-1]
213213

214214
return state

0 commit comments

Comments
 (0)