mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-21 08:06:30 +00:00
Fix device check if not exists (#2585)
This commit is contained in:
parent
8650947f04
commit
7ed9de8014
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user