diff options
author | Erik Johnston <erik@matrix.org> | 2017-10-13 11:36:32 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-10-13 11:36:32 +0100 |
commit | 4d7e1dde70e6f2300ab83fb3208152f3d73bde71 (patch) | |
tree | d4732ea5c8a865ebf83a115ef5190ef26bc0ff9b /synapse/rest/media | |
parent | Make things be absolute paths again (diff) | |
download | synapse-4d7e1dde70e6f2300ab83fb3208152f3d73bde71.tar.xz |
Remove unnecessary diff
Diffstat (limited to 'synapse/rest/media')
-rw-r--r-- | synapse/rest/media/v1/media_repository.py | 4 |
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 |