summaryrefslogtreecommitdiff
path: root/wrappers/python/src/main.py
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-07-12 14:59:50 +0200
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-07-12 14:59:50 +0200
commitffbc91079b6c425976fcefbb528f0c180f7971e2 (patch)
treedb713b29ea2ed9bbea2cabd0d13978aa96f5f44c /wrappers/python/src/main.py
parentf287501fde1be3bd7cb2bc2c163d309738e507a0 (diff)
Python + Exports: Implement Go back
Diffstat (limited to 'wrappers/python/src/main.py')
-rw-r--r--wrappers/python/src/main.py4
1 files changed, 4 insertions, 0 deletions
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)