Commit 2af66b21 authored by HgO's avatar HgO
Browse files

move getpass import to the main function, as it is only needed there

parent 27e0c20d
#!/usr/bin/python3
from datetime import datetime
from getpass import getpass
import io
import json
import logging
......@@ -147,6 +146,7 @@ def create_csr(email):
def main():
import argparse
from getpass import getpass
parser = argparse.ArgumentParser(description="Renew certificates for the Neutrinet VPN.")
parser.add_argument("login",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment