mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-23 15:33:45 +00:00
Merge branch 'hotfix_vendor_indexerror' into 'master'
Rattrapage d'une erreur index Error sur la récupération du vendeur See merge request federez/re2o!479
This commit is contained in:
commit
b896799a97
1 changed files with 1 additions and 1 deletions
|
@ -1131,7 +1131,7 @@ class Interface(RevMixin, AclMixin, FieldPermissionModelMixin, models.Model):
|
|||
try:
|
||||
oui = mac.oui
|
||||
vendor = oui.registration().org
|
||||
except NotRegisteredError:
|
||||
except (IndexError, NotRegisteredError) as error:
|
||||
vendor = _("Unknown vendor.")
|
||||
return vendor
|
||||
|
||||
|
|
Loading…
Reference in a new issue