summaryrefslogtreecommitdiff
path: root/wrappers/python/eduvpn_common/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'wrappers/python/eduvpn_common/main.py')
-rw-r--r--wrappers/python/eduvpn_common/main.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/wrappers/python/eduvpn_common/main.py b/wrappers/python/eduvpn_common/main.py
index 2b60bce..1494b48 100644
--- a/wrappers/python/eduvpn_common/main.py
+++ b/wrappers/python/eduvpn_common/main.py
@@ -19,6 +19,9 @@ from eduvpn_common.event import EventHandler
from eduvpn_common.state import State
+global_object = None
+
+
class WrappedError(Exception):
def __init__(self, translations, language, misc):
self.translations = translations
@@ -373,9 +376,6 @@ class EduVPN(object):
self.jar.cancel()
-global_object: Optional[EduVPN] = None
-
-
@TokenSetter
def token_setter(
server_id: ctypes.c_char_p, server_type: ctypes.c_int, tokens: ctypes.c_char_p