summaryrefslogtreecommitdiff
path: root/wrappers/python/src/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'wrappers/python/src/main.py')
-rw-r--r--wrappers/python/src/main.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/wrappers/python/src/main.py b/wrappers/python/src/main.py
index a2a0d14..ac44073 100644
--- a/wrappers/python/src/main.py
+++ b/wrappers/python/src/main.py
@@ -207,5 +207,11 @@ class EduVPN(object):
if location_err:
raise Exception(location_err)
+ def renew_session(self) -> None:
+ renew_err = self.go_function(lib.RenewSession)
+
+ if renew_err:
+ raise Exception(renew_err)
+
def should_renew_button(self) -> bool:
return self.go_function(lib.ShouldRenewButton)