You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 line
230B

  1. #!/usr/bin/env python3
  2. """
  3. cbpi runner
  4. """
  5. from modules import socketio, app, cbpi
  6. try:
  7. PORT = int(cbpi.get_config_parameter('port', '5000'))
  8. except ValueError:
  9. PORT = 5000
  10. socketio.run(app, host='0.0.0.0', port=PORT)