misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
Simone Margaritelli 2019-11-05 15:01:58 +01:00
parent 60d9fd46ae
commit a6ca99c693
No known key found for this signature in database
GPG Key ID: 82E42E7F3B34C97E

@ -38,6 +38,8 @@ class Server:
CSRFProtect(app)
Handler(self._agent, app)
logging.info("web ui available at http://%s:%d/" % (self._address, self._port))
app.run(host=self._address, port=self._port, debug=False)
else:
logging.info("could not get ip of usb0, video server not starting")