Make a config option for whether to generate new thumbnail sizes dynamically

This commit is contained in:
Mark Haines 2015-08-12 10:54:38 +01:00
parent 459085184c
commit 7e3d1c7d92
3 changed files with 27 additions and 7 deletions

View file

@ -69,6 +69,7 @@ class BaseMediaResource(Resource):
self.filepaths = filepaths
self.version_string = hs.version_string
self.downloads = {}
self.dynamic_thumbnails = hs.config.dynamic_thumbnails
def _respond_404(self, request):
respond_with_json(