diff options
author | Will Hunt <will@half-shot.uk> | 2018-12-09 17:39:22 +0000 |
---|---|---|
committer | Will Hunt <will@half-shot.uk> | 2018-12-09 17:39:44 +0000 |
commit | 91206e09f2831d2cbc499189ad5ee8f4bc9dcaac (patch) | |
tree | 0a9f5aad287aa8fc95473c30bdcba7dedc8d17ed /synapse | |
parent | Make /config more CORS-y (diff) | |
download | synapse-91206e09f2831d2cbc499189ad5ee8f4bc9dcaac.tar.xz |
changelog & isort
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/rest/media/v1/config_resource.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/synapse/rest/media/v1/config_resource.py b/synapse/rest/media/v1/config_resource.py index 8c3adf6c64..9b97da2132 100644 --- a/synapse/rest/media/v1/config_resource.py +++ b/synapse/rest/media/v1/config_resource.py @@ -18,7 +18,11 @@ from twisted.internet import defer from twisted.web.resource import Resource from twisted.web.server import NOT_DONE_YET -from synapse.http.server import respond_with_json, wrap_json_request_handler, set_cors_headers +from synapse.http.server import ( + respond_with_json, + set_cors_headers, + wrap_json_request_handler, +) class MediaConfigResource(Resource): |