mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2024-11-23 07:30:11 +01:00
Got rid of from __main__ import, fixed one call missing a parameter
This commit is contained in:
parent
fca81d413c
commit
c58b5c1ea2
@ -56,8 +56,7 @@ QRcode(app)
|
||||
# (NB) It is important to import these after the app is created
|
||||
import wg, util, rest_routes
|
||||
|
||||
|
||||
# TODO: use class and object oriented programming
|
||||
rest_routes.register_routes(app)
|
||||
|
||||
|
||||
"""
|
||||
|
1182
src/rest_routes.py
1182
src/rest_routes.py
File diff suppressed because it is too large
Load Diff
@ -5,7 +5,7 @@ import sqlite3
|
||||
import configparser
|
||||
import time
|
||||
import ipaddress
|
||||
from __main__ import app
|
||||
from dashboard import app
|
||||
from operator import itemgetter
|
||||
from flask import g
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user