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