Merge pull request #41 from qa6300525/2023-07-10_chengmaoyu

Tolerates some formatting errors
This commit is contained in:
geekan 2023-07-13 10:26:19 +08:00 committed by GitHub
commit b370507c1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -76,7 +76,7 @@ class OutputParser:
# 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