]> git.ipfire.org Git - thirdparty/google/fonts.git/commitdiff
Update knowledge_graph.py (#4928)
authorNathan Williams <williamsnathan@google.com>
Tue, 12 Jul 2022 21:51:44 +0000 (14:51 -0700)
committerGitHub <noreply@github.com>
Tue, 12 Jul 2022 21:51:44 +0000 (14:51 -0700)
.github/workflows/knowledge_graph.py

index 2e9e9577b16afb4c74dcb23b3ac9cb7b8d0097de..de83cff575ec2f39b07b09a863def317d13862ea 100644 (file)
@@ -18,7 +18,7 @@ def _topics_target_to_path(_: Set[str], target: str) -> str:
 
 
 def _module_target_to_path(_: Set[str], target: str) -> str:
-    return Path(target) / "module.textproto"
+    return Path(target.replace("/module/", "modules/")) / "module.textproto"
 
 
 def _content_md(path: str) -> Path: