bugfix for S3 storage backend
This commit is contained in:
parent
d8288c7647
commit
42126e46a9
@ -19,7 +19,7 @@ class S3Storage(object):
|
|||||||
|
|
||||||
def _get_opt(self, doc_class, setting, default=None):
|
def _get_opt(self, doc_class, setting, default=None):
|
||||||
""" doc_class first, then setting, then default """
|
""" doc_class first, then setting, then default """
|
||||||
self.kernel.doc_classes[doc_class].get(setting,
|
return self.kernel.doc_classes[doc_class].get(setting,
|
||||||
getattr(settings, setting, default))
|
getattr(settings, setting, default))
|
||||||
|
|
||||||
def put(self, tracked_doc, data, content_type):
|
def put(self, tracked_doc, data, content_type):
|
||||||
|
Loading…
Reference in New Issue
Block a user