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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user