mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-08 15:05:17 +02:00
format
This commit is contained in:
parent
0181bd293f
commit
f62e66ec58
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ class Editor:
|
|||
# self.resource.report(path, "path")
|
||||
|
||||
def read(self, path: str) -> FileBlock:
|
||||
"""Read the whole content of a file.It is strongly advised to utilize absolute paths"""
|
||||
"""Read the whole content of a file. It is strongly advised to utilize absolute paths"""
|
||||
with open(path, "r") as f:
|
||||
self.resource.report(path, "path")
|
||||
lines = f.readlines()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue