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
256 stars 77 forks source link

invalid syntax line 16 #5

Closed Trev-W closed 3 years ago

Trev-W commented 3 years ago

I get the following eror when trying to run this script

File "nb-dt-import.py", line 16 def update_package(path: str): ^ SyntaxError: invalid syntax

ndom91 commented 3 years ago

Works for me, are you running it with python2 or some other unrelated unsupported version of python perhaps?

Trev-W commented 3 years ago

No, python3 on debian 10

On Sun, 8 Nov. 2020, 4:42 am Nico Domino, notifications@github.com wrote:

Works for me, are you running it with python2 or some other unrelated unsupported version of python perhaps?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/minitriga/Netbox-Device-Type-Library-Import/issues/5#issuecomment-723493155, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK3O4H6RRP7LLMWQ6JKNPRTSOWWKDANCNFSM4TNYRMBQ .

Trev-W commented 3 years ago

running python3 nb-dt-import.py solved the issue.

Cheers