summary refs log tree commit diff
path: root/synapse/rest/media
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/rest/media')
-rw-r--r--synapse/rest/media/v1/storage_provider.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/rest/media/v1/storage_provider.py b/synapse/rest/media/v1/storage_provider.py
index 9bf88f01f9..0a84aba861 100644
--- a/synapse/rest/media/v1/storage_provider.py
+++ b/synapse/rest/media/v1/storage_provider.py
@@ -127,6 +127,7 @@ class FileStorageProviderBackend(StorageProvider):
         if os.path.isfile(backup_fname):
             return FileResponder(open(backup_fname, "rb"))
 
+    @staticmethod
     def parse_config(config):
         """Called on startup to parse config supplied. This should parse
         the config and raise if there is a problem.