summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-01-18 17:11:45 +0000
committerErik Johnston <erik@matrix.org>2018-01-18 17:11:45 +0000
commit3fe2bae857cda58055c32329e15d3fe9828cf8f8 (patch)
tree5f34a279c7d9451a66274f576a9c037f99e1d4f9
parentFixup comments (diff)
downloadsynapse-3fe2bae857cda58055c32329e15d3fe9828cf8f8.tar.xz
Missing staticmethod
-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.