Fixed logging bug on config loading

This commit is contained in:
Daniel Dayley 2023-07-10 11:02:42 -06:00
parent f27b0804e2
commit 3c964b2b54
Signed by: Cronocide
GPG Key ID: 2CB7D4B8DEB3198E

View File

@ -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()])