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

Issue importing #38

Closed Potasio101 closed 2 years ago

Potasio101 commented 2 years ago

venv) ubuntu@primary:~/Netbox-Device-Type-Library-Import$ ./nb-dt-import.py --vendors CISCO Package devicetype-library is already installed, updating /home/ubuntu/Netbox-Device-Type-Library-Import/repo Traceback (most recent call last): File "./nb-dt-import.py", line 446, in main() File "./nb-dt-import.py", line 417, in main update_package('./repo') TypeError: update_package() missing 1 required positional argument: 'branch'

suom1 commented 2 years ago

I have the same problem, however it's only a problem if you have a existing repo directory. Works fine if you remove the repo directory.