Device-Type-Library-Import
Device-Type-Library-Import copied to clipboard
SyntaxWarning: invalid escape sequence '\W'
I'm getting this error when trying to import devices
Ubuntu 24.04 LTS Netbox v4.0.3 Python 3.12.3
(venv) networks@netbox01:/opt/Device-Type-Library-Import$ ./nb-dt-import.py --vendors juniper
/opt/Device-Type-Library-Import/repo.py:39: SyntaxWarning: invalid escape sequence '\W'
return re_sub('\W+', '-', name.lower())
The repo "https://github.com/netbox-community/devicetype-library.git" is not a valid git repo.