summaryrefslogtreecommitdiffstats
path: root/ffi/lang/python/sequoia/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'ffi/lang/python/sequoia/core.py')
-rw-r--r--ffi/lang/python/sequoia/core.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ffi/lang/python/sequoia/core.py b/ffi/lang/python/sequoia/core.py
index a7e12808..b985247b 100644
--- a/ffi/lang/python/sequoia/core.py
+++ b/ffi/lang/python/sequoia/core.py
@@ -18,12 +18,12 @@ class IPCPolicy(Enum):
class Context(SQObject):
_del = lib.sq_context_free
- def __init__(self, domain,
+ def __init__(self,
home=None,
network_policy=NetworkPolicy.Encrypted,
ipc_policy=IPCPolicy.Robust,
ephemeral=False):
- cfg = lib.sq_context_configure(domain.encode())
+ cfg = lib.sq_context_configure()
if home:
lib.sq_config_home(cfg, home.encode())
lib.sq_config_network_policy(cfg, network_policy.value)