Clean up imports
This commit is contained in:
parent
3cf207047e
commit
539c6ef739
|
@ -3,10 +3,6 @@ import json
|
||||||
import pathlib
|
import pathlib
|
||||||
import time
|
import time
|
||||||
|
|
||||||
import click
|
|
||||||
import flask
|
|
||||||
import flask.cli
|
|
||||||
|
|
||||||
def lock(name):
|
def lock(name):
|
||||||
lockfile = pathlib.Path(f'{name}.lock')
|
lockfile = pathlib.Path(f'{name}.lock')
|
||||||
for i in range(5):
|
for i in range(5):
|
||||||
|
|
|
@ -4,11 +4,8 @@ import collections
|
||||||
import multiprocessing
|
import multiprocessing
|
||||||
import os
|
import os
|
||||||
import shutil
|
import shutil
|
||||||
import sqlite3
|
|
||||||
import subprocess
|
import subprocess
|
||||||
import sys
|
|
||||||
import syslog
|
import syslog
|
||||||
import time
|
|
||||||
|
|
||||||
import click
|
import click
|
||||||
import flask
|
import flask
|
||||||
|
|
|
@ -7,8 +7,8 @@ import subprocess
|
||||||
import flask
|
import flask
|
||||||
import flask_login
|
import flask_login
|
||||||
|
|
||||||
from . import system
|
|
||||||
from . import db
|
from . import db
|
||||||
|
from . import system
|
||||||
|
|
||||||
blueprint = flask.Blueprint('vpn', __name__, url_prefix='/vpn')
|
blueprint = flask.Blueprint('vpn', __name__, url_prefix='/vpn')
|
||||||
wgkey_regex = re.compile(r'^[A-Za-z0-9/+=]{44}$')
|
wgkey_regex = re.compile(r'^[A-Za-z0-9/+=]{44}$')
|
||||||
|
|
Loading…
Reference in a new issue