From ffbc91079b6c425976fcefbb528f0c180f7971e2 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Tue, 12 Jul 2022 14:59:50 +0200 Subject: Python + Exports: Implement Go back --- wrappers/python/src/main.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'wrappers/python/src/main.py') diff --git a/wrappers/python/src/main.py b/wrappers/python/src/main.py index 4868fca..84be0ab 100644 --- a/wrappers/python/src/main.py +++ b/wrappers/python/src/main.py @@ -134,6 +134,10 @@ class EduVPN(object): self.location_event = threading.Event() return self.get_config(url, lib.GetConfigSecureInternet, force_tcp) + def go_back(self) -> None: + # Ignore the error + self.go_function(lib.GoBack) + def set_connected(self) -> None: connect_err = self.go_function(lib.SetConnected) -- cgit v1.2.3