From 563ecd2e31dac3f3cce0f35da75e4461d0053464 Mon Sep 17 00:00:00 2001 From: novirium Date: Mon, 8 Jun 2020 19:26:39 +0800 Subject: [PATCH] config fix --- shepherd/plugins/usbcam.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shepherd/plugins/usbcam.py b/shepherd/plugins/usbcam.py index 717ac85..97df97a 100644 --- a/shepherd/plugins/usbcam.py +++ b/shepherd/plugins/usbcam.py @@ -141,7 +141,7 @@ class USBCamPlugin(shepherd.plugin.Plugin): self.hooks = pluginInterface.hooks self.root_dir = os.path.expanduser(pluginInterface.coreconfig["root_dir"]) - self.id = pluginInterface.coreconfig["id"] + self.id = pluginInterface.coreconfig["name"] self.interface.register_hook("pre_cam") self.interface.register_hook("post_cam")