Commit b896799a authored by nanoy's avatar nanoy

Merge branch 'hotfix_vendor_indexerror' into 'master'

Rattrapage d'une erreur index Error sur la récupération du vendeur

See merge request !479
parents 56fdfca1 54db192e
Pipeline #2358 passed with stage
in 3 minutes and 38 seconds
......@@ -1131,7 +1131,7 @@ class Interface(RevMixin, AclMixin, FieldPermissionModelMixin, models.Model):
oui = mac.oui
vendor = oui.registration().org
except NotRegisteredError:
except (IndexError, NotRegisteredError) as error:
vendor = _("Unknown vendor.")
return vendor
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment