mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2025-12-06 07:42:03 +01:00
change little logging in pluginloader
This commit is contained in:
parent
1c96dafa55
commit
f6336a0eda
|
|
@ -16,6 +16,7 @@ def getPlugins():
|
|||
# plugins have to be a subdir with MainModule, if not skip
|
||||
if not os.path.isdir(location) or not i + ".py" in os.listdir(location):
|
||||
continue
|
||||
logging.debug("found Plugin: %s", i)
|
||||
|
||||
# is the plugin enabled in the config-file?
|
||||
try:
|
||||
|
|
@ -31,4 +32,5 @@ def getPlugins():
|
|||
return plugins
|
||||
|
||||
def loadPlugin(plugin):
|
||||
logging.debug("load Plugin: %s", plugin["name"])
|
||||
return imp.load_module(plugin["name"], *plugin["info"])
|
||||
Loading…
Reference in a new issue