summaryrefslogtreecommitdiff
path: root/wrappers/python/src/main.py
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-08-22 18:46:37 +0200
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-08-22 18:46:37 +0200
commitd41af72a9673728cfe9390e31cb4e67da31fc355 (patch)
tree3951df72f57737e30aa012d33c8bac135a2e6e84 /wrappers/python/src/main.py
parent9c4da0277824c4d27cae4bc3f29d9c9708da3864 (diff)
State + Exports: Make cleanup optional when entering disconnect
Diffstat (limited to 'wrappers/python/src/main.py')
-rw-r--r--wrappers/python/src/main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wrappers/python/src/main.py b/wrappers/python/src/main.py
index 574d0e2..e70d431 100644
--- a/wrappers/python/src/main.py
+++ b/wrappers/python/src/main.py
@@ -157,8 +157,8 @@ class EduVPN(object):
if connecting_err:
raise Exception(connecting_err)
- def set_disconnected(self) -> None:
- disconnect_err = self.go_function(lib.SetDisconnected)
+ def set_disconnected(self, cleanup=True) -> None:
+ disconnect_err = self.go_function(lib.SetDisconnected, cleanup)
if disconnect_err:
raise Exception(disconnect_err)