summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-01-18 17:12:35 +0000
committerErik Johnston <erik@matrix.org>2018-01-18 17:12:35 +0000
commit8e85220373ee7a0396f36ffd3fddab8b1d6a7a12 (patch)
tree87f8d70517994806d8a3da223b4e7c8b1e283bfd
parentMissing staticmethod (diff)
downloadsynapse-8e85220373ee7a0396f36ffd3fddab8b1d6a7a12.tar.xz
Remove duplicate directory test
-rw-r--r--synapse/config/repository.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/synapse/config/repository.py b/synapse/config/repository.py

index 8bbc16ba40..364e823cd3 100644 --- a/synapse/config/repository.py +++ b/synapse/config/repository.py
@@ -84,10 +84,6 @@ class ContentRepositoryConfig(Config): self.media_store_path = self.ensure_directory(config["media_store_path"]) backup_media_store_path = config.get("backup_media_store_path") - if backup_media_store_path: - backup_media_store_path = self.ensure_directory( - self.backup_media_store_path - ) synchronous_backup_media_store = config.get( "synchronous_backup_media_store", False