From 964f49028c4bdbd641d353d30934ae38443cafac Mon Sep 17 00:00:00 2001 From: daijro Date: Mon, 4 Nov 2024 13:18:10 -0600 Subject: [PATCH] pythonlib: Fix broken import #70 0.3.8 --- pythonlib/camoufox/server.py | 4 ++-- pythonlib/pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pythonlib/camoufox/server.py b/pythonlib/camoufox/server.py index 4e32305..2cc6225 100644 --- a/pythonlib/camoufox/server.py +++ b/pythonlib/camoufox/server.py @@ -6,7 +6,7 @@ import orjson from playwright._impl._driver import compute_driver_executable from camoufox.pkgman import LOCAL_DATA -from camoufox.utils import get_launch_options +from camoufox.utils import launch_options LAUNCH_SCRIPT: Path = LOCAL_DATA / "launchServer.js" @@ -44,7 +44,7 @@ def launch_server(**kwargs) -> NoReturn: Launch a Playwright server. Takes the same arguments as `Camoufox()`. Prints the websocket endpoint to the console. """ - config = get_launch_options(**kwargs) + config = launch_options(**kwargs) nodejs = get_nodejs() data = orjson.dumps(to_camel_case_dict(config)).decode() diff --git a/pythonlib/pyproject.toml b/pythonlib/pyproject.toml index 5b9dfc7..cb9f27d 100644 --- a/pythonlib/pyproject.toml +++ b/pythonlib/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "camoufox" -version = "0.3.7" +version = "0.3.8" description = "Wrapper around Playwright to help launch Camoufox" authors = ["daijro "] license = "MIT"