Skip to content
Snippets Groups Projects
Commit 812a9910 authored by Mark Haines's avatar Mark Haines
Browse files

Set a version_string in BaseMediaResource so that the request_handler wrapper works

parent 1967650b
No related branches found
No related tags found
No related merge requests found
......@@ -57,6 +57,7 @@ class BaseMediaResource(Resource):
self.max_upload_size = hs.config.max_upload_size
self.max_image_pixels = hs.config.max_image_pixels
self.filepaths = filepaths
self.version_string = hs.version_string
self.downloads = {}
def _respond_404(self, request):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment