From 4ceb35a43f063ccccfe30ef4b1a934a32f7e9c49 Mon Sep 17 00:00:00 2001 From: Oliver Date: Wed, 18 May 2022 17:00:20 +1000 Subject: [PATCH] Fix PEP issue --- InvenTree/plugin/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/plugin/views.py b/InvenTree/plugin/views.py index d03c28bf90..8d28872695 100644 --- a/InvenTree/plugin/views.py +++ b/InvenTree/plugin/views.py @@ -29,7 +29,7 @@ class InvenTreePluginViewMixin: try: panels += plug.render_panels(self, self.request, ctx) - except Exception as exc: + except Exception: # Prevent any plugin error from crashing the page render kind, info, data = sys.exc_info()