Skip to content

Commit 1b12403

Browse files
authored
fix(Nuitka): Python single executable bundler support (microsoft#2518)
1 parent 86c0191 commit 1b12403

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

playwright/_impl/_transport.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ async def connect(self) -> None:
107107
try:
108108
# For pyinstaller and Nuitka
109109
env = get_driver_env()
110-
if getattr(sys, "frozen", False) or globals().get("_compiled__"):
110+
if getattr(sys, "frozen", False) or globals().get("__compiled__"):
111111
env.setdefault("PLAYWRIGHT_BROWSERS_PATH", "0")
112112

113113
startupinfo = None

0 commit comments

Comments
 (0)