Skip to content

Commit

Permalink
fix(Nuitka): Python single executable bundler support (#2518)
Browse files Browse the repository at this point in the history
  • Loading branch information
KRRT7 authored Aug 8, 2024
1 parent 86c0191 commit 1b12403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playwright/_impl/_transport.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1b12403

Please sign in to comment.