diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-05-13 16:08:32 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-05-13 16:08:32 +0200 |
| commit | 4d2f93fa46adc037f1237ebd35e3faafb4a7759a (patch) | |
| tree | 5ae0c3aacf99a6c6be9d9f754bfa4d1eef584b97 /wrappers/python/main.py | |
| parent | 5abf00ab87a55662eefc7716de52ead9749293c6 (diff) | |
Python + Go: Run formatter
Diffstat (limited to 'wrappers/python/main.py')
| -rw-r--r-- | wrappers/python/main.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/wrappers/python/main.py b/wrappers/python/main.py index c887fed..a94281a 100644 --- a/wrappers/python/main.py +++ b/wrappers/python/main.py @@ -21,6 +21,7 @@ def ask_profile_input(total: int) -> int: # The profile is one based, move to zero based input return profile_index - 1 + # Sets up the callbacks using the provided class def setup_callbacks(_eduvpn: eduvpn.EduVPN) -> None: # The callback that starst OAuth @@ -33,7 +34,9 @@ def setup_callbacks(_eduvpn: eduvpn.EduVPN) -> None: # The callback which asks the user for a profile @_eduvpn.event.on("Ask_Profile", eduvpn.StateType.Enter) def ask_profile(old_state: str, profiles: str): - print("Multiple profiles found, you need to select a profile, old state: {old_state}") + print( + "Multiple profiles found, you need to select a profile, old state: {old_state}" + ) # Parse the profiles as JSON data = json.loads(profiles) |
