mirror of
https://github.com/Manuel83/craftbeerpi3
synced 2026-08-09 18:52:40 +02:00
Loading all plugins before calling initializer methods. Now also
initializer which are defined in the plugin will be called. Before these initializer where ignored.
This commit is contained in:
@@ -188,9 +188,8 @@ def loadPlugins():
|
||||
cbpi.notify("Failed to load plugin %s " % filename, str(e), type="danger", timeout=None)
|
||||
cbpi.app.logger.error(e)
|
||||
|
||||
@cbpi.initalizer(order=1)
|
||||
def initPlugins(app):
|
||||
|
||||
#@cbpi.initalizer(order=1)
|
||||
def initPlugins():
|
||||
loadCorePlugins()
|
||||
loadPlugins()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user