mirror of
https://github.com/netbox-community/Device-Type-Library-Import.git
synced 2025-01-09 06:58:30 +01:00
Switch early return so readYAML can continue with other files
This commit is contained in:
parent
00e9b3d73f
commit
a78df75074
@ -48,7 +48,7 @@ def readYAMl(files):
|
||||
data = yaml.safe_load(stream)
|
||||
except yaml.YAMLError as exc:
|
||||
print(exc)
|
||||
return deviceTypes
|
||||
continue
|
||||
manufacturer = data['manufacturer']
|
||||
data['manufacturer'] = {}
|
||||
data['manufacturer']['name'] = manufacturer
|
||||
|
Loading…
Reference in New Issue
Block a user