use dictionary api
This commit is contained in:
parent
7cae383127
commit
37e74f9027
@ -66,7 +66,7 @@ Support and info: https://groups.io/g/openwebrx
|
|||||||
Services.start()
|
Services.start()
|
||||||
|
|
||||||
try:
|
try:
|
||||||
server = ThreadedHttpServer(("0.0.0.0", pm.getPropertyValue("web_port")), RequestHandler)
|
server = ThreadedHttpServer(("0.0.0.0", pm["web_port"]), RequestHandler)
|
||||||
server.serve_forever()
|
server.serve_forever()
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
WebSocketConnection.closeAll()
|
WebSocketConnection.closeAll()
|
||||||
|
Loading…
Reference in New Issue
Block a user