diff options
author | Erik Johnston <erik@matrix.org> | 2016-04-19 14:49:31 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-04-19 14:49:31 +0100 |
commit | a7001c311b76fbdcefc00b753fa50b1bdd3dc4cf (patch) | |
tree | f641ccad128228f4ed348a80a702b38206735962 /synapse/rest/media | |
parent | Add store to PreviewUrlResource (diff) | |
download | synapse-a7001c311b76fbdcefc00b753fa50b1bdd3dc4cf.tar.xz |
_make_dirs was moved to MediaRepository
Diffstat (limited to 'synapse/rest/media')
-rw-r--r-- | synapse/rest/media/v1/preview_url_resource.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/media/v1/preview_url_resource.py b/synapse/rest/media/v1/preview_url_resource.py index 70087e959a..3d93d928e4 100644 --- a/synapse/rest/media/v1/preview_url_resource.py +++ b/synapse/rest/media/v1/preview_url_resource.py @@ -370,7 +370,7 @@ class PreviewUrlResource(Resource): file_id = random_string(24) fname = self.filepaths.local_media_filepath(file_id) - self._makedirs(fname) + self.media_repo._makedirs(fname) try: with open(fname, "wb") as f: |