From eb02a851544df79d2ee1aa5fe8c5c3d8ac211afc Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 14 Nov 2021 23:09:42 +0100 Subject: [PATCH] fix indentation --- InvenTree/plugin/apps.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/InvenTree/plugin/apps.py b/InvenTree/plugin/apps.py index a73e7aec1a..4a7d6c3add 100644 --- a/InvenTree/plugin/apps.py +++ b/InvenTree/plugin/apps.py @@ -194,10 +194,10 @@ class PluginAppConfig(AppConfig): def _get_plugin_path(self, plugin): try: - # for local path plugins + # for local path plugins plugin_path = '.'.join(pathlib.Path(plugin.path).relative_to(settings.BASE_DIR).parts) except ValueError: - # plugin is shipped as package + # plugin is shipped as package plugin_path = plugin.PLUGIN_NAME return plugin_path