mirror of
https://forge.fsky.io/oneflux/omegafox.git
synced 2026-02-10 08:02:03 -08:00
pythonlib: Fix broken import #70 0.3.8
This commit is contained in:
parent
62928180d2
commit
964f49028c
2 changed files with 3 additions and 3 deletions
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -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 <daijro.dev@gmail.com>"]
|
||||
license = "MIT"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue