From 3c964b2b54911ad8b4ffe385900e20bbfa8ea15b Mon Sep 17 00:00:00 2001 From: Daniel Dayley Date: Mon, 10 Jul 2023 11:02:42 -0600 Subject: [PATCH] Fixed logging bug on config loading --- bin/python-tool | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/python-tool b/bin/python-tool index e738218..3d660d3 100644 --- a/bin/python-tool +++ b/bin/python-tool @@ -128,7 +128,7 @@ if __name__ == '__main__': ##CONFIG_ if not isinstance(config,dict) : ##CONFIG_ raise ValueError('expected dictonary as top-level yaml object') ##CONFIG_ except Exception as e : -##CONFIG_ log.error("Unable to parse config: " + str(e),0) +##CONFIG_ log.error("Unable to parse config: " + str(e)) ##PLUGIN_ # Load plugins ##PLUGIN_ available_plugins = search_plugins(directory='/'.join(os.path.realpath(__file__).split('/')[:-2]) + '/python-tool/' + 'plugins') ##PLUGIN_ use_plugins([x for x in available_plugins.values()])