mirror of
https://github.com/netbox-community/Device-Type-Library-Import.git
synced 2025-01-07 14:09:21 +01:00
Fixed 2 bugs
This commit is contained in:
parent
dda8ed8c2f
commit
52373d55b9
2
repo.py
2
repo.py
@ -85,7 +85,7 @@ class DTLRepo:
|
||||
def parse_files(self, files: list, slugs: list = None):
|
||||
deviceTypes = []
|
||||
for file in files:
|
||||
with open(file, 'r') as stream:
|
||||
with open(file, 'r',encoding="utf8") as stream:
|
||||
try:
|
||||
data = yaml.safe_load(stream)
|
||||
except yaml.YAMLError as excep:
|
||||
|
@ -1,4 +1,5 @@
|
||||
GitPython==3.1.32
|
||||
pynetbox==7.0.1
|
||||
python-dotenv==1.0.0
|
||||
PyYAML==6.0.1
|
||||
PyYAML==6.0.1
|
||||
setuptools==70.0.0
|
Loading…
Reference in New Issue
Block a user