diff --git a/pythonlib/camoufox/utils.py b/pythonlib/camoufox/utils.py index 273a22c..ba8cef7 100644 --- a/pythonlib/camoufox/utils.py +++ b/pythonlib/camoufox/utils.py @@ -412,7 +412,7 @@ def get_launch_options( elif ( proxy and 'localhost' not in proxy.get('server', '') - and not is_domain_set('geolocation', config) + and not is_domain_set(config, 'geolocation') ): LeakWarning.warn('proxy_without_geoip') diff --git a/pythonlib/publish.sh b/pythonlib/publish.sh index cd4860d..249482c 100644 --- a/pythonlib/publish.sh +++ b/pythonlib/publish.sh @@ -1,5 +1,6 @@ rm -rf ./dist rm -rf ./camoufox/*.mmdb +rm -rf ./camoufox/*.png python -m build twine check dist/* diff --git a/pythonlib/pyproject.toml b/pythonlib/pyproject.toml index 7e84ef7..e5f7040 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.2.11" +version = "0.2.12" description = "Wrapper around Playwright to help launch Camoufox" authors = ["daijro "] license = "MIT"