From f2aeab09ec0515948b4c3f7c9e9697fe9a7d4aba Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 13 Mar 2022 20:55:25 +0100 Subject: [PATCH] should never be reached --- InvenTree/plugin/registry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/plugin/registry.py b/InvenTree/plugin/registry.py index 272c211749..68762c8ade 100644 --- a/InvenTree/plugin/registry.py +++ b/InvenTree/plugin/registry.py @@ -120,7 +120,7 @@ class PluginsRegistry: # We do not want to end in an endless loop retry_counter -= 1 - if retry_counter <= 0: + if retry_counter <= 0: # pragma: no cover if settings.PLUGIN_TESTING: print('[PLUGIN] Max retries, breaking loading') # TODO error for server status