diff options
Diffstat (limited to 'wrappers/python/eduvpncommon/main.py')
| -rw-r--r-- | wrappers/python/eduvpncommon/main.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/wrappers/python/eduvpncommon/main.py b/wrappers/python/eduvpncommon/main.py index 8d2de9c..694fc59 100644 --- a/wrappers/python/eduvpncommon/main.py +++ b/wrappers/python/eduvpncommon/main.py @@ -47,8 +47,8 @@ def register_callback(eduvpn): ) -def SendData(data): - lib.SendData(data.encode("utf-8")) +def SetProfileID(profile_id): + lib.SetProfileID(profile_id.encode("utf-8")) class EduVPN(object): @@ -79,8 +79,8 @@ class EduVPN(object): def callback(self, old_state, new_state, data): self.event.run(old_state, new_state, data) - def send_data(self, data): - return SendData(data) + def set_profile(self, profile_id): + return SetProfileID(profile_id) class EventHandler(object): |
