From fd1e12385ddc7cca7d9bf3cf7cbcff1c35c42f21 Mon Sep 17 00:00:00 2001 From: Brendan Abolivier Date: Tue, 12 Oct 2021 12:14:27 +0200 Subject: [PATCH] Use the right config section (#62) --- s3_storage_provider.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/s3_storage_provider.py b/s3_storage_provider.py index 30b229c..68137ac 100644 --- a/s3_storage_provider.py +++ b/s3_storage_provider.py @@ -60,7 +60,7 @@ class S3StorageProviderBackend(StorageProvider): """ def __init__(self, hs, config): - self.cache_directory = hs.config.media_store_path + self.cache_directory = hs.config.media.media_store_path self.bucket = config["bucket"] self.storage_class = config["storage_class"] self.api_kwargs = {}