From d215af45f1eb9771f1923165476608cbe9ee0274 Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 11 Jan 2022 01:18:51 +0100 Subject: [PATCH] simplify code --- InvenTree/plugin/integration.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/InvenTree/plugin/integration.py b/InvenTree/plugin/integration.py index 348344f1ba..c96bcb7f6e 100644 --- a/InvenTree/plugin/integration.py +++ b/InvenTree/plugin/integration.py @@ -114,10 +114,7 @@ class IntegrationPluginBase(MixinBase, plugin.InvenTreePlugin): """ Human readable name of plugin """ - human_name = getattr(self, 'PLUGIN_TITLE', None) - if not human_name: - human_name = self.plugin_name() - return human_name + return self.plugin_title() @property def description(self):