From 1b12403a6ffdf34d03c9b55720d6d8f13ddb3445 Mon Sep 17 00:00:00 2001 From: KRRT7 <106575910+KRRT7@users.noreply.github.com> Date: Thu, 8 Aug 2024 03:43:02 -0400 Subject: [PATCH] fix(Nuitka): Python single executable bundler support (#2518) --- playwright/_impl/_transport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playwright/_impl/_transport.py b/playwright/_impl/_transport.py index f2f455c50..124f57823 100644 --- a/playwright/_impl/_transport.py +++ b/playwright/_impl/_transport.py @@ -107,7 +107,7 @@ async def connect(self) -> None: try: # For pyinstaller and Nuitka env = get_driver_env() - if getattr(sys, "frozen", False) or globals().get("_compiled__"): + if getattr(sys, "frozen", False) or globals().get("__compiled__"): env.setdefault("PLAYWRIGHT_BROWSERS_PATH", "0") startupinfo = None