diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml new file mode 100644 index 0000000..e69de29 diff --git a/datalab/datalab_session/s3_utils.py b/datalab/datalab_session/s3_utils.py index 2275fcf..06e9d11 100644 --- a/datalab/datalab_session/s3_utils.py +++ b/datalab/datalab_session/s3_utils.py @@ -124,7 +124,7 @@ def get_fits(basename: str, source: str = 'archive'): # create the tmp directory if it doesn't exist if not os.path.exists(settings.TEMP_FITS_DIR): - os.makedirs(settings.TEMP_FITS_DIR) + os.makedirs(settings.TEMP_FITS_DIR, exist_ok=True) match source: case 'archive':