use dictionary api

This commit is contained in:
Jakob Ketterl 2020-03-23 22:09:26 +01:00
parent 7cae383127
commit 37e74f9027

View File

@ -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()