_make_dirs was moved to MediaRepository

pull/736/head
Erik Johnston 2016-04-19 14:49:31 +01:00
parent 9181e2f4c7
commit a7001c311b
1 changed files with 1 additions and 1 deletions

View File

@ -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: