netbox-community / Device-Type-Library-Import

This library is intended to assist with importing device and module types into NetBox from the NetBox Community DeviceType-Library
https://github.com/netbox-community/devicetype-library
MIT License
265 stars 82 forks source link

Update repo.py #112

Closed BorisBachere closed 1 year ago

BorisBachere commented 1 year ago

Check if slug exists in data. Without this check, import fail when SLUGS are not none in .env