fix import

This commit is contained in:
Matthias 2021-11-20 17:12:12 +01:00
parent 098116675a
commit e90b69262a
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -21,14 +21,14 @@ from .views import AjaxView
from .version import inventreeVersion, inventreeApiVersion, inventreeInstanceName from .version import inventreeVersion, inventreeApiVersion, inventreeInstanceName
from .status import is_worker_running from .status import is_worker_running
from plugin import plugins as inventree_plugins from plugin.plugins import load_action_plugins
logger = logging.getLogger("inventree") logger = logging.getLogger("inventree")
logger.info("Loading action plugins...") logger.info("Loading action plugins...")
action_plugins = inventree_plugins.load_action_plugins() action_plugins = load_action_plugins()
class InfoView(AjaxView): class InfoView(AjaxView):