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.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/wrappers/python/src/main.py b/wrappers/python/src/main.py
index cbeadb5..8425992 100644
--- a/wrappers/python/src/main.py
+++ b/wrappers/python/src/main.py
@@ -73,11 +73,8 @@ class EduVPN(object):
raise Exception(cancel_oauth_err)
def deregister(self) -> None:
- deregister_err = self.go_function(lib.Deregister)
-
+ self.go_function(lib.Deregister)
remove_as_global_object(self)
- if deregister_err:
- raise Exception(deregister_err)
def register(self, debug: bool = False) -> None:
if not add_as_global_object(self):