2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-07 20:32:12 +00:00

Second fix for the first fix

This commit is contained in:
Oliver
2021-12-31 15:20:32 +11:00
parent 30cd7b2196
commit 9b468ba92e

View File

@@ -55,9 +55,9 @@ class PluginConfig(models.Model):
# extra attributes from the registry # extra attributes from the registry
def mixins(self): def mixins(self):
if self.plugin: try:
return self.plugin._mixinreg return self.plugin._mixinreg
else: except (AttributeError, ValueError):
return {} return {}
# functions # functions