Commit 76fb728a authored by janis.streib's avatar janis.streib 🦉
Browse files

UPD: cleanup

parent acf0ab79
Pipeline #130032 failed with stages
in 2 minutes and 22 seconds
......@@ -5,7 +5,6 @@ import requests
# we are assuming, that at the time of loading the app is initializes and the config is loaded
bb_name = 'macfinder'
macfinder = Blueprint(bb_name, __name__, template_folder='templates')
app.logger.info('Loading OUI databse...')
ouis = requests.get('http://standards-oui.ieee.org/oui.txt').text.split('\n')
OUI_DB = dict()
......@@ -18,5 +17,4 @@ for line in ouis:
METADATA = ModMetaData(name=bb_name, mod_path=__name__, gitlab_url='https://git.scc.kit.edu/scc-net/net-suite/net-suite-macfinder',
printable_name='MACFinder', version=get_git_version(__file__),
contact_email='dns-betrieb@scc.kit.edu', is_tool=True)
MENU = {METADATA.printable_name: 'macfinder.main'}
from . import views
......@@ -4,10 +4,6 @@ from net_suite import app
from net_suite.views import login_required, get_db_conn, db
import requests
from flask import render_template, request, flash, jsonify, redirect, url_for
from flask_breadcrumbs import register_breadcrumb
from flask_wtf import FlaskForm
from wtforms import StringField, BooleanField, IntegerField, ValidationError
from wtforms.validators import NumberRange, InputRequired
import datetime
import re
import collections
......
Supports Markdown
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