summaryrefslogtreecommitdiff
path: root/wrappers/python/main.py
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-04-20 14:28:08 +0200
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-04-20 14:28:08 +0200
commit1c54936626a4a30d0c6f69576a06ba3661f39dc6 (patch)
tree426c76b4c55cf9a9efbc7bd1aa957baec57b2892 /wrappers/python/main.py
parent77c9f266553cbadfd5fb150a26c2162b705f151e (diff)
Profiles: Implement SetProfileID instead of getting generic data
Diffstat (limited to 'wrappers/python/main.py')
-rw-r--r--wrappers/python/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wrappers/python/main.py b/wrappers/python/main.py
index bc29239..be9ab6c 100644
--- a/wrappers/python/main.py
+++ b/wrappers/python/main.py
@@ -14,7 +14,7 @@ def oauth_initialized(url):
@_eduvpn.event.on("Ask_Profile", eduvpn.StateType.Enter)
def ask_profile(profiles):
print("ASK PROFILE CB", profiles)
- _eduvpn.send_data("prefer-openvpn")
+ _eduvpn.set_profile("prefer-openvpn")
success = _eduvpn.register(debug=True)