mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-10-28 17:34:41 +03:00
fix the model lookup KeyError for cameras added at runtime (#24026)
This commit is contained in:
@@ -96,6 +96,7 @@ class CameraConfigUpdateSubscriber:
|
||||
return
|
||||
elif update_type == CameraConfigUpdateEnum.remove:
|
||||
self.config.cameras.pop(camera, None)
|
||||
self.config.drop_camera_model(camera)
|
||||
self.camera_configs.pop(camera, None)
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user