From 8fb6d7723bfce781db5848bd1143c812dcdbfe99 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 18 Sep 2021 03:42:27 +0200 Subject: [PATCH] ensure module --- InvenTree/InvenTree/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/InvenTree/urls.py b/InvenTree/InvenTree/urls.py index 1424a26503..b5cd6c691e 100644 --- a/InvenTree/InvenTree/urls.py +++ b/InvenTree/InvenTree/urls.py @@ -133,7 +133,7 @@ interation_urls = [] for plugin in integration_plugins: # initialize plugin = plugin() - if plugin.has_urls: + if plugin.module('urls') and plugin.has_urls: interation_urls.append(plugin.urlpatterns) urlpatterns = [