Fixed 2 bugs

This commit is contained in:
Zion Dials 2024-06-12 14:18:57 -04:00
parent dda8ed8c2f
commit 52373d55b9
2 changed files with 3 additions and 2 deletions

View File

@ -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:

View File

@ -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