Пример #1
0
def createPlugins(application):
    # Disable the left-sided menu
    application.ui.with_menu = False

    # Lazy load all plugins in this package
    for plugin in plugins.get_modules_in_package(__package__):
        plugin.Plugin(application)
Пример #2
0
def createPlugins(application):
    # Lazy load all plugins in this package
    for plugin in plugins.get_modules_in_package(__package__):
        plugin.Plugin(application)
Пример #3
0
def createPlugins(application):
    # Lazy load all plugins in this package
    for plugin in plugins.get_modules_in_package(__package__):
        plugin.Plugin(application)