diff --git a/src/scripts/lib/monitor-utils.lua b/src/scripts/lib/monitor-utils.lua index 3503b1c7..5a79aaca 100644 --- a/src/scripts/lib/monitor-utils.lua +++ b/src/scripts/lib/monitor-utils.lua @@ -161,7 +161,7 @@ function mutils.register_cam_node (self, parent, id, factory, properties) cam_data.dev_path = properties["api.v4l2.path"] end - cam_api_data = cam_data[api] + local cam_api_data = cam_data[api] cam_api_data.enum_status = true -- cache info, it comes handy when creating node