summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wrappers/python/example/main.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/wrappers/python/example/main.py b/wrappers/python/example/main.py
index 8008592..44bbbe8 100644
--- a/wrappers/python/example/main.py
+++ b/wrappers/python/example/main.py
@@ -36,7 +36,7 @@ def setup_callbacks(edu: eduvpn.EduVPN):
def enter_ask_profile(old_state: State, profiles: Profiles):
print("This server has multiple available profiles")
for index, profile in enumerate(profiles.profiles):
- print(f"[{index+1}]: {profile}")
+ print(f"[{index + 1}]: {profile}")
index = ask_ranged_input(len(profiles.profiles), "profile")
_eduvpn.set_profile(profiles.profiles[index].identifier)
@@ -44,7 +44,7 @@ def setup_callbacks(edu: eduvpn.EduVPN):
def enter_ask_location(old_state: State, locations: List[str]):
print("This server has multiple available locations")
for index, location in enumerate(locations):
- print(f"[{index+1}]: {location}")
+ print(f"[{index + 1}]: {location}")
index = ask_ranged_input(len(locations), "location")
_eduvpn.set_secure_location(locations[index])
@@ -64,7 +64,7 @@ def do_institute_access(edu: eduvpn.EduVPN) -> Optional[Config]:
institute_servers = []
for disco_server in sorted(disco_servers.servers, key=lambda x: str(x)):
if disco_server.server_type == "institute_access":
- print(f"[{index+1}]: {disco_server}")
+ print(f"[{index + 1}]: {disco_server}")
institute_servers.append(disco_server)
index += 1
@@ -82,7 +82,7 @@ def do_secure_internet(edu: eduvpn.EduVPN) -> Optional[Config]:
index = 0
secure_internet_servers = []
for disco_org in sorted(disco_orgs.organizations, key=lambda x: str(x)):
- print(f"[{index+1}]: {disco_org}")
+ print(f"[{index + 1}]: {disco_org}")
secure_internet_servers.append(disco_org)
index += 1