mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Second fix for the first fix
This commit is contained in:
parent
30cd7b2196
commit
9b468ba92e
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user