diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-09-27 13:24:40 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-09-27 13:24:40 +0200 |
| commit | 010a9ce99fd7f17ece9d7b804c9b5f3ab30a2bed (patch) | |
| tree | 68930f2b7799efd25218c0041a7052936eaef265 /wrappers/python/eduvpn_common/main.py | |
| parent | 0821d017eb4b640aa6668724de799d3b83354b83 (diff) | |
Python: Capitalize StateType enum values
Diffstat (limited to 'wrappers/python/eduvpn_common/main.py')
| -rw-r--r-- | wrappers/python/eduvpn_common/main.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wrappers/python/eduvpn_common/main.py b/wrappers/python/eduvpn_common/main.py index 7cb4b5e..f901ce7 100644 --- a/wrappers/python/eduvpn_common/main.py +++ b/wrappers/python/eduvpn_common/main.py @@ -49,12 +49,12 @@ class EduVPN(object): self.profile_event: Optional[threading.Event] = None self.location_event: Optional[threading.Event] = None - @self.event.on(State.ASK_PROFILE, StateType.Wait) + @self.event.on(State.ASK_PROFILE, StateType.WAIT) def wait_profile_event(old_state: int, profiles: str): if self.profile_event: self.profile_event.wait() - @self.event.on(State.ASK_LOCATION, StateType.Wait) + @self.event.on(State.ASK_LOCATION, StateType.WAIT) def wait_location_event(old_state: int, locations: str): if self.location_event: self.location_event.wait() |
