From 3b642695a8e6070b067f343bcc083a19b41c52d7 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 13 Mar 2022 21:11:06 +0100 Subject: [PATCH] PEP fix --- InvenTree/plugin/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/plugin/plugin.py b/InvenTree/plugin/plugin.py index bef07b308f..b83297dcfd 100644 --- a/InvenTree/plugin/plugin.py +++ b/InvenTree/plugin/plugin.py @@ -65,7 +65,7 @@ class InvenTreePluginBase(): key=self.plugin_slug(), name=self.plugin_name(), ) - except (OperationalError, ProgrammingError) as error: + except (OperationalError, ProgrammingError): cfg = None return cfg