diff options
author | Erik Johnston <erik@matrix.org> | 2018-01-12 15:02:46 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-01-12 15:02:46 +0000 |
commit | 694f1c1b185a8431679d39a80b7567ae68605e17 (patch) | |
tree | 629e6eea8f7fac133b0eef7eca7bc6357866d41b /synapse/rest/media/v1/_base.py | |
parent | Correctly reraise exception (diff) | |
download | synapse-694f1c1b185a8431679d39a80b7567ae68605e17.tar.xz |
Fix up comments
Diffstat (limited to 'synapse/rest/media/v1/_base.py')
-rw-r--r-- | synapse/rest/media/v1/_base.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/rest/media/v1/_base.py b/synapse/rest/media/v1/_base.py index 1145904aeb..e7ac01da01 100644 --- a/synapse/rest/media/v1/_base.py +++ b/synapse/rest/media/v1/_base.py @@ -136,8 +136,8 @@ def respond_with_responder(request, responder, media_type, file_size, upload_nam request (twisted.web.http.Request) responder (Responder|None) media_type (str): The media/content type. - file_size (int): Size in bytes of the media. If not known it should be None - upload_name (str): The name of the requested file, if any. + file_size (int|None): Size in bytes of the media. If not known it should be None + upload_name (str|None): The name of the requested file, if any. """ if not responder: respond_404(request) |