From 1a154feba26cf2c915573ea19589789ef6e8f6f6 Mon Sep 17 00:00:00 2001 From: Uri Shaked Date: Sat, 23 Dec 2023 22:42:47 +0200 Subject: [PATCH] fix(tt_tool): fails to load info.yaml also --check-docs fails --- project.py | 2 +- tt_tool.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/project.py b/project.py index b66ba18..2bc7c8d 100644 --- a/project.py +++ b/project.py @@ -86,7 +86,7 @@ class Project: else self.local_dir ) - yaml_path = os.path.join(self.src_dir, "info.yaml") + yaml_path = os.path.join(self.local_dir, "info.yaml") try: with open(yaml_path) as fh: self.info = ProjectInfo(yaml.safe_load(fh)) diff --git a/tt_tool.py b/tt_tool.py index 40714f6..3f2f4e5 100755 --- a/tt_tool.py +++ b/tt_tool.py @@ -126,7 +126,7 @@ if __name__ == "__main__": # handle the options if args.check_docs: - project.check_yaml_docs() + project.check_docs() if args.print_cell_summary or args.print_cell_category: project.summarize()