Skip to content

Commit

Permalink
Fix lazy init websurfer (microsoft#4178)
Browse files Browse the repository at this point in the history
* lazy init set

* format
  • Loading branch information
husseinmozannar authored Nov 14, 2024
1 parent a27a130 commit 36b822c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ async def _lazy_init(

# Prepare the debug directory -- which stores the screenshots generated throughout the process
await self._set_debug_dir(self.debug_dir)
self.did_lazy_init = True

async def _set_debug_dir(self, debug_dir: str | None) -> None:
assert self._page is not None
Expand Down

0 comments on commit 36b822c

Please sign in to comment.