summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-10-13 11:36:32 +0100
committerErik Johnston <erik@matrix.org>2017-10-13 11:36:32 +0100
commit4d7e1dde70e6f2300ab83fb3208152f3d73bde71 (patch)
treed4732ea5c8a865ebf83a115ef5190ef26bc0ff9b /synapse
parentMake things be absolute paths again (diff)
downloadsynapse-4d7e1dde70e6f2300ab83fb3208152f3d73bde71.tar.xz
Remove unnecessary diff
Diffstat (limited to 'synapse')
-rw-r--r--synapse/rest/media/v1/media_repository.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/synapse/rest/media/v1/media_repository.py b/synapse/rest/media/v1/media_repository.py
index c9753ebb52..f06813c48c 100644
--- a/synapse/rest/media/v1/media_repository.py
+++ b/synapse/rest/media/v1/media_repository.py
@@ -63,9 +63,7 @@ class MediaRepository(object):
         self.primary_base_path = hs.config.media_store_path
         self.filepaths = MediaFilePaths(self.primary_base_path)
 
-        self.backup_base_path = None
-        if hs.config.backup_media_store_path:
-            self.backup_base_path = hs.config.backup_media_store_path
+        self.backup_base_path = hs.config.backup_media_store_path
 
         self.synchronous_backup_media_store = hs.config.synchronous_backup_media_store