From a9fb1b0e72e00b3d6cc14dda32f8766d592e88af Mon Sep 17 00:00:00 2001 From: Kristof Daja Date: Sun, 12 Dec 2021 00:50:51 +0100 Subject: [PATCH] don't use default values for internal consistency --- django_minio_backend/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django_minio_backend/models.py b/django_minio_backend/models.py index 88f194c..44f56e3 100644 --- a/django_minio_backend/models.py +++ b/django_minio_backend/models.py @@ -89,7 +89,7 @@ def __init__(self, self.__MINIO_EXTERNAL_ENDPOINT: str = get_setting("MINIO_EXTERNAL_ENDPOINT", self.__MINIO_ENDPOINT) self.__MINIO_ACCESS_KEY: str = get_setting("MINIO_ACCESS_KEY") self.__MINIO_SECRET_KEY: str = get_setting("MINIO_SECRET_KEY") - self.__MINIO_USE_HTTPS: bool = get_setting("MINIO_USE_HTTPS", False) + self.__MINIO_USE_HTTPS: bool = get_setting("MINIO_USE_HTTPS") self.__MINIO_EXTERNAL_ENDPOINT_USE_HTTPS: bool = get_setting("MINIO_EXTERNAL_ENDPOINT_USE_HTTPS", self.__MINIO_USE_HTTPS) self.__MINIO_BUCKET_CHECK_ON_SAVE: bool = get_setting("MINIO_BUCKET_CHECK_ON_SAVE", False)