mirror of
https://github.com/TinyTapeout/tt-support-tools.git
synced 2026-11-03 04:36:09 +01:00
fix(tt_tool): fails to load info.yaml
also --check-docs fails
This commit is contained in:
+1
-1
@@ -86,7 +86,7 @@ class Project:
|
|||||||
else self.local_dir
|
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:
|
try:
|
||||||
with open(yaml_path) as fh:
|
with open(yaml_path) as fh:
|
||||||
self.info = ProjectInfo(yaml.safe_load(fh))
|
self.info = ProjectInfo(yaml.safe_load(fh))
|
||||||
|
|||||||
+1
-1
@@ -126,7 +126,7 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
# handle the options
|
# handle the options
|
||||||
if args.check_docs:
|
if args.check_docs:
|
||||||
project.check_yaml_docs()
|
project.check_docs()
|
||||||
|
|
||||||
if args.print_cell_summary or args.print_cell_category:
|
if args.print_cell_summary or args.print_cell_category:
|
||||||
project.summarize()
|
project.summarize()
|
||||||
|
|||||||
Reference in New Issue
Block a user