diff --git a/changelog.d/20240212_150340_fahad.khalid.md b/changelog.d/20240212_150340_fahad.khalid.md new file mode 100644 index 0000000..d960d63 --- /dev/null +++ b/changelog.d/20240212_150340_fahad.khalid.md @@ -0,0 +1 @@ +- [Bugfix] Fix a 500 error on downloading profile information as CSV when the minio plugin is enabled. (by @FahadKhalid210) diff --git a/tutorminio/patches/openedx-common-settings b/tutorminio/patches/openedx-common-settings index b7fb118..cd7b9d7 100644 --- a/tutorminio/patches/openedx-common-settings +++ b/tutorminio/patches/openedx-common-settings @@ -1,7 +1,7 @@ DEFAULT_FILE_STORAGE = "storages.backends.s3boto3.S3Boto3Storage" VIDEO_IMAGE_SETTINGS["STORAGE_KWARGS"]["location"] = VIDEO_IMAGE_SETTINGS["STORAGE_KWARGS"]["location"].lstrip("/") VIDEO_TRANSCRIPTS_SETTINGS["STORAGE_KWARGS"]["location"] = VIDEO_TRANSCRIPTS_SETTINGS["STORAGE_KWARGS"]["location"].lstrip("/") -GRADES_DOWNLOAD["STORAGE_KWARGS"]["location"] = GRADES_DOWNLOAD["STORAGE_KWARGS"]["location"].lstrip("/") +GRADES_DOWNLOAD["STORAGE_KWARGS"] = {"location": GRADES_DOWNLOAD["STORAGE_KWARGS"]["location"].lstrip("/")} # Ora2 setting ORA2_FILEUPLOAD_BACKEND = "s3"