summaryrefslogtreecommitdiff
path: root/wrappers/python/eduvpn_common/event.py
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-09-27 13:24:40 +0200
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-09-27 13:24:40 +0200
commit010a9ce99fd7f17ece9d7b804c9b5f3ab30a2bed (patch)
tree68930f2b7799efd25218c0041a7052936eaef265 /wrappers/python/eduvpn_common/event.py
parent0821d017eb4b640aa6668724de799d3b83354b83 (diff)
Python: Capitalize StateType enum values
Diffstat (limited to 'wrappers/python/eduvpn_common/event.py')
-rw-r--r--wrappers/python/eduvpn_common/event.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/wrappers/python/eduvpn_common/event.py b/wrappers/python/eduvpn_common/event.py
index a47a0a7..f6260c5 100644
--- a/wrappers/python/eduvpn_common/event.py
+++ b/wrappers/python/eduvpn_common/event.py
@@ -105,6 +105,6 @@ class EventHandler(object):
converted = data
if convert:
converted = convert_data(self.lib, new_state, data)
- self.run_state(old_state, new_state, StateType.Leave, converted)
- self.run_state(new_state, old_state, StateType.Enter, converted)
- self.run_state(new_state, old_state, StateType.Wait, converted)
+ self.run_state(old_state, new_state, StateType.LEAVE, converted)
+ self.run_state(new_state, old_state, StateType.ENTER, converted)
+ self.run_state(new_state, old_state, StateType.WAIT, converted)