Skip to content

Commit 3c14a50

Browse files
Fix TypeError
1 parent bb9eceb commit 3c14a50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

slurm_pipeline/cli/cli.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ def _select_job(state, failed_only=False, job_name=None):
352352
answer = questionary.select('Please select work package:', choices=wp_choices.keys()).ask()
353353
job_id = wp_choices[answer]
354354
elif l == 1:
355-
job_id = wp_choices.values()[0]
355+
job_id = list(wp_choices.values())[0]
356356
else:
357357
raise StopIteration()
358358

0 commit comments

Comments
 (0)