mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-04-10 17:03:37 +00:00
little debug and error edits
This commit is contained in:
parent
be9aa3b722
commit
0e952d6057
4 changed files with 20 additions and 17 deletions
|
|
@ -24,7 +24,7 @@ def getPlugins():
|
|||
plugins = []
|
||||
for i in os.listdir(PluginFolder):
|
||||
location = os.path.join(PluginFolder, i)
|
||||
# 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
|
||||
|
||||
|
|
@ -36,7 +36,7 @@ def getPlugins():
|
|||
logging.debug("Plugin [ENABLED ] %s", i)
|
||||
else:
|
||||
logging.debug("Plugin [DISABLED] %s ", i)
|
||||
except: #no entry for plugin found in config-file, skip
|
||||
except: #no entry for plugin found in config-file
|
||||
logging.warning("Plugin [NO CONF ] %s", i)
|
||||
except:
|
||||
logging.exception("Error during Plugin search")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue