Fix PEP issue

This commit is contained in:
Oliver 2022-05-18 17:00:20 +10:00
parent 6147afe35f
commit 4ceb35a43f

View File

@ -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()