mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-08 15:05:17 +02:00
fixbug: MGX-46
This commit is contained in:
parent
0c88a092c9
commit
5b8f0331e5
1 changed files with 4 additions and 0 deletions
|
|
@ -434,6 +434,10 @@ class Engineer(Role):
|
|||
if filename.suffix != ".py":
|
||||
continue
|
||||
workdir = self.src_workspace / filename.parent
|
||||
if not workdir.exists():
|
||||
workdir = self.project_repo.workdir / filename.parent
|
||||
if not workdir.exists():
|
||||
return
|
||||
await init_python_folder(workdir)
|
||||
|
||||
async def _is_fixbug(self) -> bool:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue