summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--synapse/rest/media/v1/media_repository.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/rest/media/v1/media_repository.py b/synapse/rest/media/v1/media_repository.py
index e32a67e16a..cc267d0c16 100644
--- a/synapse/rest/media/v1/media_repository.py
+++ b/synapse/rest/media/v1/media_repository.py
@@ -102,7 +102,6 @@ class MediaRepository(object):
         Args:
             source: A file like object to be written
             fname (str): Path to write to
-            close_source (bool): Whether to close source after writing
         """
         MediaRepository._makedirs(fname)
         source.seek(0)  # Ensure we read from the start of the file