diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-08-22 18:46:37 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-08-22 18:46:37 +0200 |
| commit | d41af72a9673728cfe9390e31cb4e67da31fc355 (patch) | |
| tree | 3951df72f57737e30aa012d33c8bac135a2e6e84 /wrappers/python/src/main.py | |
| parent | 9c4da0277824c4d27cae4bc3f29d9c9708da3864 (diff) | |
State + Exports: Make cleanup optional when entering disconnect
Diffstat (limited to 'wrappers/python/src/main.py')
| -rw-r--r-- | wrappers/python/src/main.py | 4 |
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) |
