mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 20:16:44 +00:00
do not cover error
This commit is contained in:
parent
8a91fc362b
commit
baca0dc268
@ -59,7 +59,7 @@ class PluginConfig(models.Model):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
return self.plugin._mixinreg
|
return self.plugin._mixinreg
|
||||||
except (AttributeError, ValueError):
|
except (AttributeError, ValueError): # pragma: no cover
|
||||||
return {}
|
return {}
|
||||||
|
|
||||||
# functions
|
# functions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user