Clean up imports

This commit is contained in:
Timotej Lazar 2023-01-26 16:22:05 +01:00
parent 3cf207047e
commit 539c6ef739
3 changed files with 1 additions and 8 deletions

View file

@ -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):

View file

@ -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

View file

@ -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}$')