Merge branch 'fixbug/mgx-46' into 'mgx_ops'

fixbug: MGX-46

See merge request pub/MetaGPT!147
This commit is contained in:
林义章 2024-06-06 06:17:43 +00:00
commit fa80b7e5aa

View file

@ -496,9 +496,9 @@ class Engineer(Role):
filename = Path(i)
if filename.suffix != ".py":
continue
workdir = self.src_workspace / filename.parent
workdir = self.repo.srcs.workdir / filename.parent
if not workdir.exists():
workdir = self.project_repo.workdir / filename.parent
workdir = self.repo.workdir / filename.parent
await init_python_folder(workdir)
async def _is_fixbug(self) -> bool: