From 09ec69dfdef409868f1cb39cb8cc4b33c8690c9f Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Mon, 26 Sep 2022 17:36:30 +0200 Subject: Python: Reformat and move most loading out of __init__ --- wrappers/python/main.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'wrappers/python/main.py') diff --git a/wrappers/python/main.py b/wrappers/python/main.py index 0bd2502..657f0ab 100644 --- a/wrappers/python/main.py +++ b/wrappers/python/main.py @@ -1,9 +1,7 @@ import eduvpn_common.main as eduvpn from eduvpn_common.state import State, StateType import webbrowser -import json import sys -import time from typing import List # Asks the user for a profile index @@ -78,9 +76,9 @@ if __name__ == "__main__": except Exception as e: print("Failed registering:", e) - #server = input( - # "Which server (Custom/Institute Access) do you want to connect to? (e.g. https://eduvpn.example.com): " - #) + server = input( + "Which server (Custom/Institute Access) do you want to connect to? (e.g. https://eduvpn.example.com): " + ) # Get a Wireguard/OpenVPN config try: -- cgit v1.2.3