Fix problem with dbtemplate loader, it wasn't declaring itself as usable

- Legacy-Id: 6928
This commit is contained in:
Ole Laursen 2013-12-13 17:27:22 +00:00
parent 0006b9ddcc
commit 2dc4454772

View file

@ -61,6 +61,9 @@ class RSTTemplate(PlainTemplate):
raise e
class Loader(BaseLoader):
def __init__(self, *args, **kwargs):
super(Loader, self).__init__(self, *args, **kwargs)
self.is_usable = True
def load_template_source(self, template_name, template_dirs=None):
try: