mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-12-24 12:29:08 +00:00
Fix device check if not exists (#2585)
This commit is contained in:
@@ -125,6 +125,7 @@ class DockerAddon(DockerInterface):
|
||||
device = self.sys_hardware.get_by_path(device_path)
|
||||
except HardwareNotFound:
|
||||
_LOGGER.debug("Ignore static device path %s", device_path)
|
||||
continue
|
||||
|
||||
# Check access
|
||||
if not self.sys_hardware.policy.allowed_for_access(device):
|
||||
|
||||
Reference in New Issue
Block a user