Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jerowe committed Jan 25, 2023
1 parent 1ac2d1b commit 4005bc1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jupyter_rstudio_singularity/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,9 @@ def sanity_check_singularity_image(remote_image: str, image: str):
os.makedirs(image_dir, exist_ok=True)
if not os.path.exists(image):
logger.info("Local image doesn't exist. Pulling...")
command = f"cd {image_dir} && singularity pull {str(remote_image)}"
return shell_run_command(
command=f"cd {image_dir} && singularity pull {remote_image}",
command=command,
return_all=True,
)
else:
Expand Down

0 comments on commit 4005bc1

Please sign in to comment.