From 6f56aa70f63e65776e6d5a632f41a8b9565de0d1 Mon Sep 17 00:00:00 2001 From: Ben Hall Date: Fri, 16 Feb 2024 23:46:23 -0500 Subject: [PATCH] working runner and server --- py_data_acq/py_data_acq/web_server/mcap_server.py | 2 +- py_data_acq/runner.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/py_data_acq/py_data_acq/web_server/mcap_server.py b/py_data_acq/py_data_acq/web_server/mcap_server.py index 88a3e60..af41567 100644 --- a/py_data_acq/py_data_acq/web_server/mcap_server.py +++ b/py_data_acq/py_data_acq/web_server/mcap_server.py @@ -6,7 +6,7 @@ from typing import Any class MCAPServer: - def __init__(self, host='127.0.0.1', port=6969, mcap_writer=None): + def __init__(self, host='0.0.0.0', port=6969, mcap_writer=None): self.host = host self.port = port self.mcap_writer = mcap_writer diff --git a/py_data_acq/runner.py b/py_data_acq/runner.py index 66fca00..965e5db 100644 --- a/py_data_acq/runner.py +++ b/py_data_acq/runner.py @@ -1,4 +1,4 @@ - +#!/usr/bin/env python import asyncio from py_data_acq.foxglove_live.foxglove_ws import HTProtobufFoxgloveServer