Skip to content

Commit efb2d31

Browse files
committed
path check fixed
1 parent 25fd997 commit efb2d31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/funkman/commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def read_locals(self) -> dict:
2121
raise PluginInstallationError(self.plugin_name,
2222
f"Can't find {self.node.config_dir}/plugins/funkman.yaml, "
2323
f"please create one!")
24-
path = config.get('install')
24+
path = config.get(DEFAULT_TAG, {}).get('install')
2525
if not path or not os.path.exists(path):
2626
raise PluginInstallationError(self.plugin_name,
2727
f"FunkMan install path is not set correctly in the DEFAULT-section of "

0 commit comments

Comments
 (0)