mirror of
https://github.com/browser-use/browser-use
synced 2026-05-06 17:52:15 +02:00
run pre-commit --all-files
This commit is contained in:
@@ -70,7 +70,7 @@ async def read_file(path: str, available_file_paths: list[str]):
|
||||
if path not in available_file_paths:
|
||||
return ActionResult(error=f'File path {path} is not available')
|
||||
|
||||
async with (await anyio.open_file(path, 'r')) as f:
|
||||
async with await anyio.open_file(path, 'r') as f:
|
||||
content = await f.read()
|
||||
msg = f'File content: {content}'
|
||||
logger.info(msg)
|
||||
|
||||
Reference in New Issue
Block a user