mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-09-29 11:26:49 +03:00
fix the model lookup KeyError for cameras added at runtime (#24026)
This commit is contained in:
committed by
Nicolas Mowen
parent
257a05a7e2
commit
46796fe9ef
@@ -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