Use the right config section (#62)

This commit is contained in:
Brendan Abolivier 2021-10-12 12:14:27 +02:00 committed by GitHub
parent 04e3d31b40
commit fd1e12385d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 = {}