From 4d2f93fa46adc037f1237ebd35e3faafb4a7759a Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Fri, 13 May 2022 16:08:32 +0200 Subject: Python + Go: Run formatter --- wrappers/python/main.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'wrappers/python/main.py') 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) -- cgit v1.2.3