From 164ee5fa5c1e305702ae3d373fd5605b03379d91 Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 12 Jan 2022 00:08:58 +0100 Subject: [PATCH] fix reference --- InvenTree/plugin/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/plugin/admin.py b/InvenTree/plugin/admin.py index 790c3c6c5d..ba5148e6e3 100644 --- a/InvenTree/plugin/admin.py +++ b/InvenTree/plugin/admin.py @@ -23,7 +23,7 @@ def plugin_update(queryset, new_status: bool): # Reload plugins if they changed if apps_changed: - pl_registry.registry.reload_plugins() + pl_registry.reload_plugins() @admin.action(description='Activate plugin(s)')