We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab630c0 commit 689967dCopy full SHA for 689967d
1 file changed
gremlin/plugin_manager.py
@@ -49,11 +49,13 @@ def __init__(self):
49
self._parameter_requirements = {}
50
51
self._discover_plugins(Path(util.resource_path("action_plugins")), True)
52
- path = Path(config.Configuration().value(
+ user_plugin_dir = config.Configuration().value(
53
"global", "general", "plugin_directory"
54
- ))
55
- if path.is_dir():
56
- self._discover_plugins(path, False)
+ )
+ if user_plugin_dir:
+ path = Path(user_plugin_dir)
57
+ if path.is_dir():
58
+ self._discover_plugins(path, False)
59
60
self._create_type_action_map()
61
self._create_action_name_map()
0 commit comments