Fix source usage in templates

This commit is contained in:
Tim Van Baak 2023-06-08 17:06:16 -07:00
parent 657f37634d
commit e03b82dbea
1 changed files with 3 additions and 0 deletions

View File

@ -142,6 +142,9 @@ class LocalSource:
self.source_name = source_name
self.source_path: Path = data_path / source_name
def __str__(self) -> str:
return self.source_name
def get_config(self) -> dict:
config_path = self.source_path / "intake.json"
with open(config_path, "r", encoding="utf8") as config_file: