mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-09 00:30:23 +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
|
||||
def mixins(self):
|
||||
|
||||
if self.plugin:
|
||||
try:
|
||||
return self.plugin._mixinreg
|
||||
else:
|
||||
except (AttributeError, ValueError):
|
||||
return {}
|
||||
|
||||
# functions
|
||||
|
Loading…
x
Reference in New Issue
Block a user