1
0
mirror of https://github.com/donaldzou/WGDashboard.git synced 2024-11-23 15:31:23 +01:00

Got rid of from __main__ import, fixed one call missing a parameter

This commit is contained in:
theonlynexus 2022-07-21 02:22:50 +00:00
parent fca81d413c
commit c58b5c1ea2
3 changed files with 598 additions and 589 deletions

View File

@ -56,8 +56,7 @@ QRcode(app)
# (NB) It is important to import these after the app is created # (NB) It is important to import these after the app is created
import wg, util, rest_routes import wg, util, rest_routes
rest_routes.register_routes(app)
# TODO: use class and object oriented programming
""" """

File diff suppressed because it is too large Load Diff

View File

@ -5,7 +5,7 @@ import sqlite3
import configparser import configparser
import time import time
import ipaddress import ipaddress
from __main__ import app from dashboard import app
from operator import itemgetter from operator import itemgetter
from flask import g from flask import g