Skip to content

Commit 7a7bec7

Browse files
committed
Update python.py
1 parent 469da72 commit 7a7bec7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.manager/src/controlman/file_gen/python.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def entry(self) -> list[DynamicFile]:
6262
parser = entry.get("parser")
6363
if not parser:
6464
continue
65-
filepath = (self._path_src / "/".join(entry["ref"].split(":")[0].split("."))).with_suffix(".py")
65+
filepath = (self._path_repo / self._path_src / "/".join(entry["ref"].split(":")[0].split("."))).with_suffix(".py")
6666
file_content = filepath.read_text()
6767
parser_content = self.make_parser(data=parser)
6868
new_content = _unit.insert_in_file(

0 commit comments

Comments
 (0)