mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-25 22:22:26 +00:00
Rattrapage d'une erreur index Error sur la récupération du vendeur
This commit is contained in:
parent
56fdfca1aa
commit
54db192e8f
1 changed files with 1 additions and 1 deletions
|
@ -1131,7 +1131,7 @@ class Interface(RevMixin, AclMixin, FieldPermissionModelMixin, models.Model):
|
||||||
try:
|
try:
|
||||||
oui = mac.oui
|
oui = mac.oui
|
||||||
vendor = oui.registration().org
|
vendor = oui.registration().org
|
||||||
except NotRegisteredError:
|
except (IndexError, NotRegisteredError) as error:
|
||||||
vendor = _("Unknown vendor.")
|
vendor = _("Unknown vendor.")
|
||||||
return vendor
|
return vendor
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue