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()
|
||||
|
||||
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()
|
||||
except KeyboardInterrupt:
|
||||
WebSocketConnection.closeAll()
|
||||
|
Loading…
Reference in New Issue
Block a user