fix format issuse

This commit is contained in:
黄伟韬 2024-08-13 19:51:38 +08:00
parent 8fa8b4b141
commit 91d5e8491e

View file

@ -237,7 +237,7 @@ class Editor(BaseModel):
return lines
except:
pass
return [f"Reading failed: `{path}` cannot be decoded by `{encoding_format_list}`. Please ask a human for help."]
return [f"Reading failed: `{path}` cannot be decoded by `{encoding_format_list}`."]
@staticmethod
async def _read_pdf(path: Union[str, Path]) -> List[str]: