From fc6552470da9f04851a83f8dabc78207fc30423a Mon Sep 17 00:00:00 2001 From: novirium Date: Mon, 8 Jun 2020 19:28:07 +0800 Subject: [PATCH] config fix --- shepherd/plugins/mothtrap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shepherd/plugins/mothtrap.py b/shepherd/plugins/mothtrap.py index 59539ab..2e45e9a 100644 --- a/shepherd/plugins/mothtrap.py +++ b/shepherd/plugins/mothtrap.py @@ -24,7 +24,7 @@ class MothtrapPlugin(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"] print("Mothtrap config:") print(self.config)