mirror of
https://github.com/craigerl/aprsd.git
synced 2025-09-04 22:27:50 -04:00
Removed flask code
This commit is contained in:
parent
0aa905ebba
commit
72fa550250
@ -32,7 +32,7 @@ import time
|
|||||||
|
|
||||||
# local imports here
|
# local imports here
|
||||||
import aprsd
|
import aprsd
|
||||||
from aprsd import client, email, flask, messaging, plugin, threads, utils
|
from aprsd import client, email, messaging, plugin, threads, utils
|
||||||
import aprslib
|
import aprslib
|
||||||
from aprslib.exceptions import LoginError
|
from aprslib.exceptions import LoginError
|
||||||
import click
|
import click
|
||||||
@ -456,10 +456,6 @@ def server(
|
|||||||
|
|
||||||
messaging.MsgTrack().restart()
|
messaging.MsgTrack().restart()
|
||||||
|
|
||||||
if stats_server:
|
|
||||||
app = flask.init_flask(config)
|
|
||||||
app.run(host="0.0.0.0", port=5001)
|
|
||||||
|
|
||||||
cntr = 0
|
cntr = 0
|
||||||
while not server_event.is_set():
|
while not server_event.is_set():
|
||||||
# to keep the log noise down
|
# to keep the log noise down
|
||||||
|
Loading…
x
Reference in New Issue
Block a user