diff options
author | Erik Johnston <erik@matrix.org> | 2018-01-18 17:11:45 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-01-18 17:11:45 +0000 |
commit | 3fe2bae857cda58055c32329e15d3fe9828cf8f8 (patch) | |
tree | 5f34a279c7d9451a66274f576a9c037f99e1d4f9 /synapse/rest/media/v1 | |
parent | Fixup comments (diff) | |
download | synapse-3fe2bae857cda58055c32329e15d3fe9828cf8f8.tar.xz |
Missing staticmethod
Diffstat (limited to 'synapse/rest/media/v1')
-rw-r--r-- | synapse/rest/media/v1/storage_provider.py | 1 |
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. |