summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-10-12 15:23:41 +0100
committerErik Johnston <erik@matrix.org>2017-10-12 15:23:41 +0100
commit67cb89fbdf62dfb2ff65f6f7f0ca23445cdac0ac (patch)
tree00527cf46e1f5378b56808df112deb32c8ac22a7
parentBasic implementation of backup media store (diff)
downloadsynapse-67cb89fbdf62dfb2ff65f6f7f0ca23445cdac0ac.tar.xz
Fix typo
-rw-r--r--synapse/rest/media/v1/media_repository.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/media/v1/media_repository.py b/synapse/rest/media/v1/media_repository.py
index 3b442cc16b..f26f793bed 100644
--- a/synapse/rest/media/v1/media_repository.py
+++ b/synapse/rest/media/v1/media_repository.py
@@ -107,7 +107,7 @@ class MediaRepository(object):
 
         # Write to backup repository
         if self.backup_filepaths:
-            backup_fname = file_name_func(backup_filepaths)
+            backup_fname = file_name_func(self.backup_filepaths)
             self._makedirs(backup_fname)
 
             # We can either wait for successful writing to the backup repository