diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-09-26 17:36:30 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-09-27 10:53:37 +0200 |
| commit | 09ec69dfdef409868f1cb39cb8cc4b33c8690c9f (patch) | |
| tree | 109925dbbee4a9120211897582760f96010ae8f2 /wrappers/python/main.py | |
| parent | 0a19c2dedcaaa177b420eac99149515d84508204 (diff) | |
Python: Reformat and move most loading out of __init__
Diffstat (limited to 'wrappers/python/main.py')
| -rw-r--r-- | wrappers/python/main.py | 8 |
1 files changed, 3 insertions, 5 deletions
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: |
