diff --git a/src/megasniff/__init__.py b/src/megasniff/__init__.py index 759b97c..b181f2e 100644 --- a/src/megasniff/__init__.py +++ b/src/megasniff/__init__.py @@ -31,7 +31,7 @@ class SchemaInflatorGenerator: loader: Optional[jinja2.BaseLoader] = None, convertor_template: str = 'inflator.jinja2'): if loader is None: - template_path = importlib.resources.files('src.megasniff.templates') + template_path = importlib.resources.files('megasniff.templates') loader = jinja2.FileSystemLoader(str(template_path)) self.templateLoader = loader self.templateEnv = jinja2.Environment(loader=self.templateLoader)