Skip to content

Commit

Permalink
Merge pull request geekan#41 from qa6300525/2023-07-10_chengmaoyu
Browse files Browse the repository at this point in the history
Tolerates some formatting errors
  • Loading branch information
geekan authored Jul 13, 2023
2 parents f91e65e + 2a1bb27 commit b370507
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metagpt/utils/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def parse_file_list(cls, text: str) -> list[str]:
# Convert string representation of list to a Python list using ast.literal_eval.
tasks = ast.literal_eval(tasks_list_str)
else:
raise Exception
tasks = text.split("\n")
return tasks

@classmethod
Expand Down

0 comments on commit b370507

Please sign in to comment.