Skip to content

Commit

Permalink
fix(cli): allow download files when not submitting
Browse files Browse the repository at this point in the history
  • Loading branch information
fschuch committed Dec 6, 2023
1 parent eb9637e commit 03255a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jobbergate-cli/jobbergate_cli/subapps/job_scripts/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ def render(
actual_value=submit,
)

if settings.SBATCH_PATH is None:
if settings.SBATCH_PATH is None or not submit:
# Notice on-site submission will download the job script files anyway, so it is asked just in remote mode.
download = question_helper(
question_func=typer.confirm,
Expand Down

0 comments on commit 03255a5

Please sign in to comment.