Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'mqtt-extras' into testing
Browse files Browse the repository at this point in the history
WillB97 committed Jul 16, 2024
2 parents 29b7a7a + 86b6faf commit 6ec30e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion runusb/__main__.py
Original file line number Diff line number Diff line change
@@ -318,7 +318,6 @@ def __init__(self, mountpoint_path: str) -> None:

self._setup_logging(mountpoint_path)
LED_CONTROLLER.set_code(True)
LED_CONTROLLER.set_status(LedStatus.Running)

self.env = dict(os.environ)
self.env["SBOT_METADATA_PATH"] = MOUNTPOINT_DIR
@@ -333,6 +332,8 @@ def start(self) -> None:
MQTT_SETTINGS.extra_data["run_uuid"] = run_uuid
self.env["run_uuid"] = run_uuid
self.killed = False
REL_TIME_FILTER.reset_time_reference() # type: ignore[union-attr]
LED_CONTROLLER.set_status(LedStatus.Running)
self.process = subprocess.Popen(
[sys.executable, '-u', ROBOT_FILE],
stdin=subprocess.DEVNULL,

0 comments on commit 6ec30e0

Please sign in to comment.