Skip to content

Commit ca0aa96

Browse files
authored
Update safety_gate.py
1 parent 857d506 commit ca0aa96

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/ohip/safety_gate.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
from __future__ import annotations
2626

2727
from dataclasses import dataclass
28-
from typing import Callable, Optional, Tuple, Dict, Any, List
28+
from typing import Callable, Optional, Tuple, Dict, Any
2929
from time import time
3030

3131
from .schemas import (
@@ -104,6 +104,7 @@ def __init__(
104104
or self._defaults.get("social_touch_profile")
105105
or next(iter(self._profiles.keys()), None)
106106
)
107+
self._active_profile = self._profile_name
107108
self._profile = dict(self._profiles.get(self._profile_name, {}))
108109

109110
self._hw = hw_iface or HardwareInterface()

0 commit comments

Comments
 (0)