cleanup: remove unused assignation and if stmt
the function doesn't return anything (see function signature)
This commit is contained in:
parent
69aa190d9e
commit
d8b7a1630c
|
@ -36,8 +36,4 @@ def loadAll():
|
|||
|
||||
for files in shell.readdir(pluginDir):
|
||||
if files.endswith(".py"):
|
||||
plugin = load(os.path.join(pluginDir, files))
|
||||
|
||||
if plugin:
|
||||
_logger.info(f"Loaded plugin {plugin.name}")
|
||||
plugin.init()
|
||||
load(os.path.join(pluginDir, files))
|
||||
|
|
Loading…
Reference in a new issue