From 916f056844f161c59303e2a1048a5966df6eac6b Mon Sep 17 00:00:00 2001 From: Daniel Dayley Date: Mon, 16 May 2022 14:13:02 -0600 Subject: [PATCH] Improved plugin class naming --- bin/python-tool | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/python-tool b/bin/python-tool index a125791..9c653cb 100644 --- a/bin/python-tool +++ b/bin/python-tool @@ -15,7 +15,7 @@ import python-tool ##PLUGIN__initialized_plugins = [] ##PLUGIN_# Plugin loading code -##PLUGIN_plugin_class = 'python-toolPlugin'.strip('-').capitalize() +##PLUGIN_plugin_class = 'python-tool'.strip('-').capitalize() + 'Plugin' ##PLUGIN_def add_plugin(plugin,reload) : ##PLUGIN_ """Adds a given plugin and instance, reinitializing one if it already exists and such is specified.""" ##PLUGIN_ plugin_name = plugin.__module__.split('.')[-1]