diff --git a/InvenTree/plugin/apps.py b/InvenTree/plugin/apps.py index cf357e314f..ba4aa575f8 100644 --- a/InvenTree/plugin/apps.py +++ b/InvenTree/plugin/apps.py @@ -287,8 +287,8 @@ class PluginAppConfig(AppConfig): apps.all_models[plugin_path].pop(model) # clear the registry for that app - # so that the import trick will work on reloading the same plugin - # -> the registry is kept for the whole lifecycle + # so that the import trick will work on reloading the same plugin + # -> the registry is kept for the whole lifecycle apps.all_models.pop(app_name) # remove plugin from installed_apps