Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxWarning: invalid escape sequence '\W' #139

Open
NunoOliveira opened this issue Jun 5, 2024 · 0 comments
Open

SyntaxWarning: invalid escape sequence '\W' #139

NunoOliveira opened this issue Jun 5, 2024 · 0 comments

Comments

@NunoOliveira
Copy link

NunoOliveira commented Jun 5, 2024

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant